diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2016-11-09 16:14:46 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2016-11-09 16:14:46 +0100 |
commit | 0ebffa4a5fb8f3fe1f220fd4c5bf3897a45557dd (patch) | |
tree | da0b0e773fb77fb3002e66d29be558bc65cb7acd /lib/private/AppFramework | |
parent | 742c215946555371b2ae1e855cefa65e5cc712a3 (diff) | |
download | nextcloud-server-0ebffa4a5fb8f3fe1f220fd4c5bf3897a45557dd.tar.gz nextcloud-server-0ebffa4a5fb8f3fe1f220fd4c5bf3897a45557dd.zip |
do not double encode the redirect url
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/AppFramework')
-rw-r--r-- | lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php b/lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php index 183e55740ea..01a575c27c4 100644 --- a/lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php +++ b/lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php @@ -236,7 +236,7 @@ class SecurityMiddleware extends Middleware { $url = $this->urlGenerator->linkToRoute( 'core.login.showLoginForm', [ - 'redirect_url' => urlencode($this->request->server['REQUEST_URI']), + 'redirect_url' => $this->request->server['REQUEST_URI'], ] ); $response = new RedirectResponse($url); |