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/legacy | |
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/legacy')
-rw-r--r-- | lib/private/legacy/util.php | 2 |
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(), ] ) ); |