summaryrefslogtreecommitdiffstats
path: root/Http/Logout/LogoutUrlGenerator.php
diff options
context:
space:
mode:
authorNicolas Grekas <nicolas.grekas@gmail.com>2015-12-18 16:44:05 +0100
committerNicolas Grekas <nicolas.grekas@gmail.com>2015-12-18 16:44:05 +0100
commit45301b2c7f653a92b06dbcc2a714ba4f590e928f (patch)
tree88ca655c603953fe48dc70b13fd2453c2dea9e1d /Http/Logout/LogoutUrlGenerator.php
parent59d9a5becf9229364c874c92793e68ade4daccc9 (diff)
parent00810c121aeb7c73f66bdf4ac5a4ee12ea7b49da (diff)
downloadsymfony-security-45301b2c7f653a92b06dbcc2a714ba4f590e928f.zip
symfony-security-45301b2c7f653a92b06dbcc2a714ba4f590e928f.tar.gz
symfony-security-45301b2c7f653a92b06dbcc2a714ba4f590e928f.tar.bz2
Merge branch '3.0'
* 3.0: prefer phpunit 5.x on hhvm Reflected the change of the choice_value option in the Upgrade information [FrameworkBundle][HttpKernel] the finder is required to discover bundle commands [travis] Auto-conf deps=high matrix line [FrameworkBundle] fixes outdated phpdoc on Controller::createForm() method. fix error level for deprecation Fix the logout path when not using the router Fix the logout path when not using the router [Form] cast IDs to match deprecated behaviour of EntityChoiceList [FrameworkBundle] minor: fix property_info service name in composer.json [HttpFoundation] Added the ability of mapping stream wrapper protocols when using X-Sendfile [HttpFoundation] Add a test case for using BinaryFileResponse with stream wrappers CSS min-height and min-width should not be "auto"
Diffstat (limited to 'Http/Logout/LogoutUrlGenerator.php')
-rw-r--r--Http/Logout/LogoutUrlGenerator.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Http/Logout/LogoutUrlGenerator.php b/Http/Logout/LogoutUrlGenerator.php
index 991b1fc..ada733b 100644
--- a/Http/Logout/LogoutUrlGenerator.php
+++ b/Http/Logout/LogoutUrlGenerator.php
@@ -113,7 +113,7 @@ class LogoutUrlGenerator
$request = $this->requestStack->getCurrentRequest();
- $url = UrlGeneratorInterface::ABSOLUTE_URL === $referenceType ? $request->getUriForPath($logoutPath) : $request->getBasePath().$logoutPath;
+ $url = UrlGeneratorInterface::ABSOLUTE_URL === $referenceType ? $request->getUriForPath($logoutPath) : $request->getBaseUrl().$logoutPath;
if (!empty($parameters)) {
$url .= '?'.http_build_query($parameters);