diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-11-29 17:21:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-29 17:21:43 +0100 |
commit | d86b29b42b93ba535b242bd8949fcf3fee52ce1e (patch) | |
tree | 3ac660f453e7f67eedad1af4947e0aa9e1889bdd /lib/private/legacy | |
parent | 7780e45348e9a45f081bb199e4679d69e0b5336c (diff) | |
parent | 0ebffa4a5fb8f3fe1f220fd4c5bf3897a45557dd (diff) | |
download | nextcloud-server-d86b29b42b93ba535b242bd8949fcf3fee52ce1e.tar.gz nextcloud-server-d86b29b42b93ba535b242bd8949fcf3fee52ce1e.zip |
Merge pull request #2066 from nextcloud/fix-redirect-double-encoding
do not double encode the redirect url
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 b3014ed09f3..eaa82ec8701 100644 --- a/lib/private/legacy/util.php +++ b/lib/private/legacy/util.php @@ -975,7 +975,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(), ] ) ); |