mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
keep original REQUEST_URI in ORIG_REQUEST_URI when modifying it
This commit is contained in:
parent
eec16362dc
commit
cc27253b7b
@ -636,6 +636,7 @@ class WebDAV extends HTTP_WebDAV_Server_Filesystem
|
||||
{
|
||||
if ($_SERVER['REQUEST_METHOD'] == 'GET' && (($this->force_download = strpos($_SERVER['REQUEST_URI'],'?download')) !== false))
|
||||
{
|
||||
$_SERVER['ORIG_REQUEST_URI'] = $_SERVER['REQUEST_URI'];
|
||||
$_SERVER['REQUEST_URI'] = substr($_SERVER['REQUEST_URI'],0,$this->force_download);
|
||||
}
|
||||
parent::__construct();
|
||||
|
Loading…
Reference in New Issue
Block a user