mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-09 21:16:07 +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) /* {{{ */
|
function reverseLookup($path) /* {{{ */
|
||||||
{
|
{
|
||||||
$path = rawurldecode($path);
|
// do not use rawurl[de|en]code anymore, search for rawurlencode
|
||||||
|
// $path = rawurldecode($path);
|
||||||
if($this->logger)
|
if($this->logger)
|
||||||
$this->logger->log('reverseLookup: path='.$path.'', PEAR_LOG_DEBUG);
|
$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);
|
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,9 +408,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()));
|
|
||||||
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.
|
||||||
* I doesn't harm because for
|
* I doesn't harm because for
|
||||||
|
|
Loading…
Reference in New Issue
Block a user