diff --git a/src/Symfony/Component/HttpKernel/Security/Firewall/FormAuthenticationListener.php b/src/Symfony/Component/HttpKernel/Security/Firewall/FormAuthenticationListener.php index 91990e31985b1..f3eaca7ab5d3b 100644 --- a/src/Symfony/Component/HttpKernel/Security/Firewall/FormAuthenticationListener.php +++ b/src/Symfony/Component/HttpKernel/Security/Firewall/FormAuthenticationListener.php @@ -179,7 +179,7 @@ protected function determineTargetUrl(Request $request) return $targetUrl; } - if ($this->options['use_referer'] && $targetUrl = $request->getHeader('Referer')) { + if ($this->options['use_referer'] && $targetUrl = $request->headers->get('Referer')) { return $targetUrl; }
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: