summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
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/legacy
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/legacy')
-rw-r--r--lib/private/legacy/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/util.php b/lib/private/legacy/util.php
index 5cd92eaa415..f174276945e 100644
--- a/lib/private/legacy/util.php
+++ b/lib/private/legacy/util.php
@@ -978,7 +978,7 @@ class OC_Util {
header('Location: ' . \OC::$server->getURLGenerator()->linkToRoute(
'core.login.showLoginForm',
[
- 'redirect_url' => urlencode(\OC::$server->getRequest()->getRequestUri()),
+ 'redirect_url' => \OC::$server->getRequest()->getRequestUri(),
]
)
);