diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2016-11-23 16:46:24 -0800 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2016-11-23 16:46:24 -0800 |
commit | 7d56da2b5b09a909d1e38a7f19d2fb3f73945b42 (patch) | |
tree | cc577ffdf9d448f39d280e35efc382957fbd9db2 | |
parent | 943147f230113903c06ea36e567b700d10e28ab3 (diff) | |
parent | adafaa848451fc0a4522bd7ea476ecf7e9f81bc1 (diff) | |
download | symfony-security-7d56da2b5b09a909d1e38a7f19d2fb3f73945b42.zip symfony-security-7d56da2b5b09a909d1e38a7f19d2fb3f73945b42.tar.gz symfony-security-7d56da2b5b09a909d1e38a7f19d2fb3f73945b42.tar.bz2 |
Merge branch '2.8' into 3.1
* 2.8:
[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.8.15
updated VERSION for 2.8.14
updated CHANGELOG for 2.8.14
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
Fix annotation type for $context
[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 98f5ac0..3c9604e 100644 --- a/Http/Firewall/ExceptionListener.php +++ b/Http/Firewall/ExceptionListener.php @@ -220,7 +220,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()) { $this->saveTargetPath($request->getSession(), $this->providerKey, $request->getUri()); } } |