From f624efe49a36eb93f7996087fc2e38b757cdbd13 Mon Sep 17 00:00:00 2001 From: Pierre-Louis LAUNAY Date: Thu, 16 Dec 2010 14:40:00 +0100 Subject: [PATCH] The method ->getHeader(...) doen't exists. Replace it by ->headers->get(...) --- .../HttpKernel/Security/Firewall/FormAuthenticationListener.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }