Skip to content
Snippets Groups Projects
Commit 7278f2f5 authored by Thomas Tanghus's avatar Thomas Tanghus
Browse files

Sub-dir was prepended twice

parent 3a7829f7
No related branches found
No related tags found
No related merge requests found
......@@ -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');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment