diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-05-18 15:56:15 +0200 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-05-18 15:56:15 +0200 |
commit | 2d3c709163ae835e34e4f84144bc91ff796baa45 (patch) | |
tree | e4328a6fe6b650048bee22834b5bc76b12096505 /lib/util.php | |
parent | db77dc91bc0750db13fb082689211a206486bf46 (diff) | |
parent | a6ff909911c2d60ae88913c05de81a7b726331aa (diff) | |
download | nextcloud-server-2d3c709163ae835e34e4f84144bc91ff796baa45.tar.gz nextcloud-server-2d3c709163ae835e34e4f84144bc91ff796baa45.zip |
Merge branch 'master' of gitorious.org:owncloud/owncloud
Diffstat (limited to 'lib/util.php')
-rw-r--r-- | lib/util.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php index ad4543af55b..0e5f3a7362c 100644 --- a/lib/util.php +++ b/lib/util.php @@ -312,7 +312,7 @@ class OC_Util { */ public static function redirectToDefaultPage(){ if(isset($_REQUEST['redirect_url'])) { - header( 'Location: '.htmlentities($_REQUEST['redirect_url'])); + header( 'Location: /'.htmlentities($_REQUEST['redirect_url'])); } else { header( 'Location: '.OC::$WEBROOT.'/'.OC_Appconfig::getValue('core', 'defaultpage', '?app=files')); } |