mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-05 04:49:44 +01:00
ignore double slashes in the Request-URI
This commit is contained in:
parent
bb12fea3c9
commit
e23d04d5cb
@ -180,6 +180,8 @@ class HTTP_WebDAV_Server
|
|||||||
// copy $_SERVER variables to local _SERVER array
|
// copy $_SERVER variables to local _SERVER array
|
||||||
// so that derived classes can simply modify these
|
// so that derived classes can simply modify these
|
||||||
$this->_SERVER = $_SERVER;
|
$this->_SERVER = $_SERVER;
|
||||||
|
// ignore double slashes in the Request-URI
|
||||||
|
$this->_SERVER['REQUEST_URI'] = str_replace('//', '/', $_SERVER['REQUEST_URI']);
|
||||||
}
|
}
|
||||||
|
|
||||||
// }}}
|
// }}}
|
||||||
|
Loading…
Reference in New Issue
Block a user