Browse Source

fix bug in lib base

remotes/origin/stable4
Georg Ehrke 14 years ago
parent
commit
19109afa79
  1. 4
      lib/base.php

4
lib/base.php

@ -406,7 +406,9 @@ class OC{
if(substr_count(self::$REQUESTEDFILE, '?') != 0){ if(substr_count(self::$REQUESTEDFILE, '?') != 0){
$file = substr(self::$REQUESTEDFILE, 0, strpos(self::$REQUESTEDFILE, '?')); $file = substr(self::$REQUESTEDFILE, 0, strpos(self::$REQUESTEDFILE, '?'));
$param = substr(self::$REQUESTEDFILE, strpos(self::$REQUESTEDFILE, '?') + 1); $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; self::$REQUESTEDFILE = $file;
$_GET['getfile'] = $file; $_GET['getfile'] = $file;
} }

Loading…
Cancel
Save