summaryrefslogtreecommitdiffstats
path: root/Http/EntryPoint
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2011-04-12 10:49:22 +0200
committerFabien Potencier <fabien.potencier@gmail.com>2011-04-12 10:49:22 +0200
commit4347804a5b2b0377dc8b9a1ee5885e573b32eb85 (patch)
tree264ec2aa131e99de437df482e7fb16154a3ed773 /Http/EntryPoint
parente29077d41e0bf00aec264d16c97efca2710b5d1e (diff)
downloadsymfony-security-4347804a5b2b0377dc8b9a1ee5885e573b32eb85.zip
symfony-security-4347804a5b2b0377dc8b9a1ee5885e573b32eb85.tar.gz
symfony-security-4347804a5b2b0377dc8b9a1ee5885e573b32eb85.tar.bz2
[Security] fixed URL
Diffstat (limited to 'Http/EntryPoint')
-rw-r--r--Http/EntryPoint/RetryAuthenticationEntryPoint.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Http/EntryPoint/RetryAuthenticationEntryPoint.php b/Http/EntryPoint/RetryAuthenticationEntryPoint.php
index 114d122..cb549e6 100644
--- a/Http/EntryPoint/RetryAuthenticationEntryPoint.php
+++ b/Http/EntryPoint/RetryAuthenticationEntryPoint.php
@@ -51,7 +51,7 @@ class RetryAuthenticationEntryPoint implements AuthenticationEntryPointInterface
$qs = '?'.$qs;
}
- $url = $scheme.'://'.$request->getHost().$port.$request->getScriptName().$request->getPathInfo().$qs;
+ $url = $scheme.'://'.$request->getHost().$port.$request->getBaseUrl().$request->getPathInfo().$qs;
return new RedirectResponse($url, 301);
}