This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/HttpFoundation
Fabien Potencier 11f04abcd4 bug #31863 [HttpFoundation] Fixed case-sensitive handling of cache-control header in RedirectResponse constructor (Ivo)
This PR was merged into the 3.4 branch.

Discussion
----------

[HttpFoundation] Fixed case-sensitive handling of cache-control header in RedirectResponse constructor

…r in RedirectResponse constructor.

| Q             | A
| ------------- | ---
| Branch?       |  3.4
| Bug fix?      | yes
| New feature?  |no <!-- please update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | #31862  <!-- #-prefixed issue number(s), if any -->
| License       | MIT

Perform a case-insensitive check on `$headers` in \Symfony\Component\HttpFoundation\RedirectResponse::__construct()

Commits
-------

b5e6c99a3b [HttpFoundation] Fixed case-sensitive handling of cache-control header in RedirectResponse constructor.
2019-06-05 15:24:38 +02:00
..
Exception [HttpFoundation] refactored Request exceptions 2016-12-16 17:05:39 +01:00
File Make MimeTypeExtensionGuesser case insensitive 2019-04-16 08:01:19 +02:00
Session fixed a phpdoc 2019-05-18 18:33:51 +02:00
Tests [HttpFoundation] Fixed case-sensitive handling of cache-control header in RedirectResponse constructor. 2019-06-05 10:24:41 +02:00
.gitignore Added missing files .gitignore 2013-07-21 14:12:18 +02:00
AcceptHeader.php switched array() to [] 2019-01-16 10:39:14 +01:00
AcceptHeaderItem.php switched array() to [] 2019-01-16 10:39:14 +01:00
ApacheRequest.php Enable the fixer enforcing fully-qualified calls for compiler-optimized functions 2018-07-24 12:05:38 +02:00
BinaryFileResponse.php [HttpFoundation] Do not set X-Accel-Redirect for paths outside of X-Accel-Mapping 2019-05-28 15:48:21 +03:00
CHANGELOG.md use behavior instead of behaviour 2019-03-25 08:48:46 +01:00
composer.json [HttpFoundation] Make sessions secure and lazy 2017-10-17 00:24:46 +02:00
Cookie.php Allow set 'None' on samesite cookie flag 2019-05-10 21:58:31 +02:00
ExpressionRequestMatcher.php switched array() to [] 2019-01-16 10:39:14 +01:00
FileBag.php switched array() to [] 2019-01-16 10:39:14 +01:00
HeaderBag.php Apply php-cs-fixer rule for array_key_exists() 2019-02-23 16:06:07 +01:00
IpUtils.php switched array() to [] 2019-01-16 10:39:14 +01:00
JsonResponse.php Fix json-encoding when JSON_THROW_ON_ERROR is used 2019-06-05 13:33:52 +02:00
LICENSE update year in license files 2019-01-01 14:45:19 +01:00
ParameterBag.php Apply php-cs-fixer rule for array_key_exists() 2019-02-23 16:06:07 +01:00
phpunit.xml.dist Bump phpunit XSD version to 5.2 2018-11-11 12:18:13 +01:00
README.md Updated all the README files 2016-03-04 08:12:06 +01:00
RedirectResponse.php [HttpFoundation] Fixed case-sensitive handling of cache-control header in RedirectResponse constructor. 2019-06-05 10:24:41 +02:00
Request.php Fixes a small doc blocks syntax error 2019-05-27 07:50:24 +02:00
RequestMatcher.php switched array() to [] 2019-01-16 10:39:14 +01:00
RequestMatcherInterface.php [DI] minor docblock fixes 2017-10-24 13:40:19 +02:00
RequestStack.php switched array() to [] 2019-01-16 10:39:14 +01:00
Response.php Response prepare method update 2019-03-21 19:51:37 +01:00
ResponseHeaderBag.php Apply php-cs-fixer rule for array_key_exists() 2019-02-23 16:06:07 +01:00
ServerBag.php switched array() to [] 2019-01-16 10:39:14 +01:00
StreamedResponse.php switched array() to [] 2019-01-16 10:39:14 +01:00

HttpFoundation Component

The HttpFoundation component defines an object-oriented layer for the HTTP specification.

Resources