Skip to content

Commit 199035b

Browse files
committed
Merge branch '3.2'
* 3.2: (24 commits) [Filesystem] Remove extra argv in dumpFile() tests [DI] minor FileLoaders tests update [FrameworkBundle] Add framework.cache.prefix_seed for predictible cache key prefixes [SecurityBundle] Remove FirewallContext mandatory FirewallConfig argument deprecation [HttpKernel] Revert BC breaking change of Request::isMethodSafe() [DI] Allow null as default env value [WebProfilerBundle] Fix deprecated uses of profiler_dump [SecurityBundle] Fix FirewallConfig nullable arguments [FrameworkBundle] Avoid warming up the validator cache for non-existent classes [DOMCrawler] Bug fixed [FrameworkBundle] Mark cache.default_*_provider services private [Process] Do feat test before enabling TTY mode bumped Symfony version to 3.1.8 updated VERSION for 3.1.7 updated CHANGELOG for 3.1.7 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 ...
2 parents f2e0668 + c450fc7 commit 199035b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Firewall/ExceptionListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ private function startAuthentication(Request $request, AuthenticationException $
220220
protected function setTargetPath(Request $request)
221221
{
222222
// session isn't required when using HTTP basic authentication mechanism for example
223-
if ($request->hasSession() && $request->isMethodSafe() && !$request->isXmlHttpRequest()) {
223+
if ($request->hasSession() && $request->isMethodSafe(false) && !$request->isXmlHttpRequest()) {
224224
$this->saveTargetPath($request->getSession(), $this->providerKey, $request->getUri());
225225
}
226226
}

0 commit comments

Comments
 (0)