[HttpFoundation] fix #6002
[HttpFoundation] fix #6002


oswaldderiemaecker/HttpFoundation,mneuhaus/HttpFoundation,symfony/http-foundation,ygerasimov/HttpFoundation,nichdu/HttpFoundation,symfony/HttpFoundation