aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2014-03-29 20:40:49 +0100
committerThomas Tanghus <thomas@tanghus.net>2014-03-29 20:40:49 +0100
commit7278f2f5673ca3ebc62938f854cb1028bb5bcfef (patch)
treef1c8db6ba35d72c8b675e40db08942294de1f22c /lib
parent3a7829f784a3f98642ac19b633c003e74aa87e9d (diff)
downloadnextcloud-server-7278f2f5673ca3ebc62938f854cb1028bb5bcfef.tar.gz
nextcloud-server-7278f2f5673ca3ebc62938f854cb1028bb5bcfef.zip
Sub-dir was prepended twice
Diffstat (limited to 'lib')
-rwxr-xr-xlib/private/util.php2
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');