mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 07:04:57 +00:00
rawurlencode path of files and folders
This commit is contained in:
parent
82e25025ab
commit
0d5a1ba3c7
|
@ -384,8 +384,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,8 +407,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().'/';
|
||||
// $info["path"] = htmlspecialchars($path.rawurlencode($obj->getName()));
|
||||
if($this->useorgfilename) {
|
||||
/* Add the document id and version to the display name.
|
||||
|
|
Loading…
Reference in New Issue
Block a user