Skip to content
Snippets Groups Projects
Commit 19109afa authored by Georg Ehrke's avatar Georg Ehrke
Browse files

fix bug in lib base

parent d1110c62
Branches
No related tags found
No related merge requests found
......@@ -406,7 +406,9 @@ class OC{
if(substr_count(self::$REQUESTEDFILE, '?') != 0){
$file = substr(self::$REQUESTEDFILE, 0, strpos(self::$REQUESTEDFILE, '?'));
$param = substr(self::$REQUESTEDFILE, strpos(self::$REQUESTEDFILE, '?') + 1);
parse_str($param, $_GET);
echo $param;
parse_str($param, $get);
$_GET = array_merge($_GET, $get);
self::$REQUESTEDFILE = $file;
$_GET['getfile'] = $file;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment