Skip to content
Snippets Groups Projects
Commit a6ff9099 authored by Michiel de Jong's avatar Michiel de Jong
Browse files

this code looks wrong to me but i'm putting it back while we find out what the...

this code looks wrong to me but i'm putting it back while we find out what the right code should look like
parent 1a874b4c
No related branches found
No related tags found
No related merge requests found
......@@ -312,7 +312,7 @@ class OC_Util {
*/
public static function redirectToDefaultPage(){
if(isset($_REQUEST['redirect_url'])) {
header( 'Location: /'.$_REQUEST['redirect_url']);
header( 'Location: /'.htmlentities($_REQUEST['redirect_url']));
} else {
header( 'Location: '.OC::$WEBROOT.'/'.OC_Appconfig::getValue('core', 'defaultpage', '?app=files'));
}
......
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