diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2014-03-29 20:40:49 +0100 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2014-03-29 20:40:49 +0100 |
commit | 7278f2f5673ca3ebc62938f854cb1028bb5bcfef (patch) | |
tree | f1c8db6ba35d72c8b675e40db08942294de1f22c /lib | |
parent | 3a7829f784a3f98642ac19b633c003e74aa87e9d (diff) | |
download | nextcloud-server-7278f2f5673ca3ebc62938f854cb1028bb5bcfef.tar.gz nextcloud-server-7278f2f5673ca3ebc62938f854cb1028bb5bcfef.zip |
Sub-dir was prepended twice
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/private/util.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/util.php b/lib/private/util.php index c1adbaf2544..731b7c97503 100755 --- a/lib/private/util.php +++ b/lib/private/util.php @@ -703,7 +703,7 @@ class OC_Util { public static function redirectToDefaultPage() { $urlGenerator = \OC::$server->getURLGenerator(); if(isset($_REQUEST['redirect_url'])) { - $location = $urlGenerator->getAbsoluteURL(urldecode($_REQUEST['redirect_url'])); + $location = urldecode($_REQUEST['redirect_url']); } else if (isset(OC::$REQUESTEDAPP) && !empty(OC::$REQUESTEDAPP)) { $location = $urlGenerator->getAbsoluteURL('/index.php/apps/'.OC::$REQUESTEDAPP.'/index.php'); |