diff options
author | Nicolas Grekas <nicolas.grekas@gmail.com> | 2015-12-18 16:43:53 +0100 |
---|---|---|
committer | Nicolas Grekas <nicolas.grekas@gmail.com> | 2015-12-18 16:43:53 +0100 |
commit | 00810c121aeb7c73f66bdf4ac5a4ee12ea7b49da (patch) | |
tree | b408632e82cd39fbd5ead3142c8c284ef781401b /Http/Logout | |
parent | b3b647719aca1f081db95bbbed9cf492b8a4d849 (diff) | |
parent | 9419b7b165f5f068c0d87dcb344781bc03ede87b (diff) | |
download | symfony-security-00810c121aeb7c73f66bdf4ac5a4ee12ea7b49da.zip symfony-security-00810c121aeb7c73f66bdf4ac5a4ee12ea7b49da.tar.gz symfony-security-00810c121aeb7c73f66bdf4ac5a4ee12ea7b49da.tar.bz2 |
Merge branch '2.8' into 3.0
* 2.8:
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
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"
Conflicts:
.travis.yml
UPGRADE-2.8.md
appveyor.yml
src/Symfony/Bundle/FrameworkBundle/composer.json
src/Symfony/Component/HttpFoundation/ParameterBag.php
Diffstat (limited to 'Http/Logout')
-rw-r--r-- | Http/Logout/LogoutUrlGenerator.php | 2 |
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); |