diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2016-11-23 16:43:03 -0800 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2016-11-23 16:43:03 -0800 |
commit | adafaa848451fc0a4522bd7ea476ecf7e9f81bc1 (patch) | |
tree | da6c03a57856da53949a8d39cd42d8b6dce03256 | |
parent | c5811a853e7d71055320c9d10e40c49a824f0f54 (diff) | |
parent | fe3433685cd9468ecce3a3efb975b08caa6b0907 (diff) | |
download | symfony-security-adafaa848451fc0a4522bd7ea476ecf7e9f81bc1.zip symfony-security-adafaa848451fc0a4522bd7ea476ecf7e9f81bc1.tar.gz symfony-security-adafaa848451fc0a4522bd7ea476ecf7e9f81bc1.tar.bz2 |
Merge branch '2.7' into 2.8
* 2.7:
[DI] minor FileLoaders tests update
[HttpKernel] Revert BC breaking change of Request::isMethodSafe()
[DOMCrawler] Bug fixed
[Process] Do feat test before enabling TTY mode
bumped Symfony version to 2.7.22
updated VERSION for 2.7.21
update CONTRIBUTORS for 2.7.21
updated CHANGELOG for 2.7.21
[Doctrine][Form] support large integers
-rw-r--r-- | Http/Firewall/ExceptionListener.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Http/Firewall/ExceptionListener.php b/Http/Firewall/ExceptionListener.php index a1cae2a..4e8066b 100644 --- a/Http/Firewall/ExceptionListener.php +++ b/Http/Firewall/ExceptionListener.php @@ -209,7 +209,7 @@ class ExceptionListener protected function setTargetPath(Request $request) { // session isn't required when using HTTP basic authentication mechanism for example - if ($request->hasSession() && $request->isMethodSafe() && !$request->isXmlHttpRequest()) { + if ($request->hasSession() && $request->isMethodSafe(false) && !$request->isXmlHttpRequest()) { $request->getSession()->set('_security.'.$this->providerKey.'.target_path', $request->getUri()); } } |