summaryrefslogtreecommitdiffstats
path: root/lib/private/AppFramework
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2016-11-09 16:14:46 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2016-11-09 16:14:46 +0100
commit0ebffa4a5fb8f3fe1f220fd4c5bf3897a45557dd (patch)
treeda0b0e773fb77fb3002e66d29be558bc65cb7acd /lib/private/AppFramework
parent742c215946555371b2ae1e855cefa65e5cc712a3 (diff)
downloadnextcloud-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.php2
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);