ignore double slashes in the Request-URI

This commit is contained in:
ralf 2025-01-07 14:31:58 +01:00
parent bb12fea3c9
commit e23d04d5cb

View File

@ -180,6 +180,8 @@ class HTTP_WebDAV_Server
// copy $_SERVER variables to local _SERVER array
// so that derived classes can simply modify these
$this->_SERVER = $_SERVER;
// ignore double slashes in the Request-URI
$this->_SERVER['REQUEST_URI'] = str_replace('//', '/', $_SERVER['REQUEST_URI']);
}
// }}}