diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-02-07 13:24:47 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-02-07 13:24:47 +0100 |
commit | 11ded92a7305f30a6d3cb20c7631a04078ac9fbd (patch) | |
tree | 44fb4d4e3a69452fd4e7f54513c0b0f82ec32d17 | |
parent | 57c1b499a14dadffe7df54cf91447af379072c98 (diff) | |
parent | 2bd1c17345e107e8a880f4e3255696802df7a29c (diff) | |
download | nextcloud-server-11ded92a7305f30a6d3cb20c7631a04078ac9fbd.tar.gz nextcloud-server-11ded92a7305f30a6d3cb20c7631a04078ac9fbd.zip |
Merge pull request #13830 from owncloud/fix-redirect-404
Don't encode url unecessary twice
-rw-r--r-- | lib/private/util.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/util.php b/lib/private/util.php index c08cff81469..9a01ca3ac95 100644 --- a/lib/private/util.php +++ b/lib/private/util.php @@ -818,8 +818,7 @@ class OC_Util { $parameters['user_autofocus'] = true; } if (isset($_REQUEST['redirect_url'])) { - $redirectUrl = $_REQUEST['redirect_url']; - $parameters['redirect_url'] = urlencode($redirectUrl); + $parameters['redirect_url'] = $_REQUEST['redirect_url']; } $parameters['alt_login'] = OC_App::getAlternativeLogIns(); |