mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +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);
|
array_shift($patharr);
|
||||||
$path = '';
|
$path = '';
|
||||||
foreach($patharr as $pathseg)
|
foreach($patharr as $pathseg)
|
||||||
// $path .= '/'.rawurlencode($pathseg->getName());
|
$path .= '/'.rawurlencode($pathseg->getName());
|
||||||
$path .= '/'.$pathseg->getName();
|
// $path .= '/'.$pathseg->getName();
|
||||||
if(!$path) {
|
if(!$path) {
|
||||||
$path = '/';
|
$path = '/';
|
||||||
$info["props"][] = $this->mkprop("isroot", "true");
|
$info["props"][] = $this->mkprop("isroot", "true");
|
||||||
|
@ -407,8 +407,8 @@ class HTTP_WebDAV_Server_SeedDMS extends HTTP_WebDAV_Server
|
||||||
array_shift($patharr);
|
array_shift($patharr);
|
||||||
$path = '/';
|
$path = '/';
|
||||||
foreach($patharr as $pathseg)
|
foreach($patharr as $pathseg)
|
||||||
// $path .= rawurlencode($pathseg->getName()).'/';
|
$path .= rawurlencode($pathseg->getName()).'/';
|
||||||
$path .= $pathseg->getName().'/';
|
// $path .= $pathseg->getName().'/';
|
||||||
// $info["path"] = htmlspecialchars($path.rawurlencode($obj->getName()));
|
// $info["path"] = htmlspecialchars($path.rawurlencode($obj->getName()));
|
||||||
if($this->useorgfilename) {
|
if($this->useorgfilename) {
|
||||||
/* Add the document id and version to the display name.
|
/* Add the document id and version to the display name.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user