mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 07:04:57 +00:00
do not rawurl[de|en]code path anymore
This commit is contained in:
parent
4ba98d45bc
commit
f6ec37df74
|
@ -206,7 +206,8 @@ class HTTP_WebDAV_Server_SeedDMS extends HTTP_WebDAV_Server
|
|||
*/
|
||||
function reverseLookup($path) /* {{{ */
|
||||
{
|
||||
$path = rawurldecode($path);
|
||||
// do not use rawurl[de|en]code anymore, search for rawurlencode
|
||||
// $path = rawurldecode($path);
|
||||
if($this->logger)
|
||||
$this->logger->log('reverseLookup: path='.$path.'', PEAR_LOG_DEBUG);
|
||||
|
||||
|
@ -384,8 +385,8 @@ class HTTP_WebDAV_Server_SeedDMS extends HTTP_WebDAV_Server
|
|||
array_shift($patharr);
|
||||
$path = '';
|
||||
foreach($patharr as $pathseg)
|
||||
$path .= '/'.rawurlencode($pathseg->getName());
|
||||
// $path .= '/'.$pathseg->getName();
|
||||
// $path .= '/'.rawurlencode($pathseg->getName());
|
||||
$path .= '/'.$pathseg->getName();
|
||||
if(!$path) {
|
||||
$path = '/';
|
||||
$info["props"][] = $this->mkprop("isroot", "true");
|
||||
|
@ -407,9 +408,8 @@ class HTTP_WebDAV_Server_SeedDMS extends HTTP_WebDAV_Server
|
|||
array_shift($patharr);
|
||||
$path = '/';
|
||||
foreach($patharr as $pathseg)
|
||||
$path .= rawurlencode($pathseg->getName()).'/';
|
||||
// $path .= $pathseg->getName().'/';
|
||||
// $info["path"] = htmlspecialchars($path.rawurlencode($obj->getName()));
|
||||
// $path .= rawurlencode($pathseg->getName()).'/';
|
||||
$path .= $pathseg->getName().'/';
|
||||
if($this->useorgfilename) {
|
||||
/* Add the document id and version to the display name.
|
||||
* I doesn't harm because for
|
||||
|
|
Loading…
Reference in New Issue
Block a user