mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 23:42:11 +00:00
- urldecode path in reverseLookup()
This commit is contained in:
parent
a2b2df30c0
commit
7b189e2449
|
@ -111,7 +111,7 @@ class HTTP_WebDAV_Server_LetoDMS extends HTTP_WebDAV_Server
|
||||||
function check_auth($type, $user, $pass) /* {{{ */
|
function check_auth($type, $user, $pass) /* {{{ */
|
||||||
{
|
{
|
||||||
if($this->logger)
|
if($this->logger)
|
||||||
$this->logger->log('check_auth: user='.$user.'', PEAR_LOG_INFO);
|
$this->logger->log('check_auth: type='.$type.', user='.$user.'', PEAR_LOG_INFO);
|
||||||
$userobj = $this->dms->getUserByLogin($user);
|
$userobj = $this->dms->getUserByLogin($user);
|
||||||
if(!$userobj)
|
if(!$userobj)
|
||||||
return false;
|
return false;
|
||||||
|
@ -133,6 +133,7 @@ class HTTP_WebDAV_Server_LetoDMS extends HTTP_WebDAV_Server
|
||||||
*/
|
*/
|
||||||
function reverseLookup($path) /* {{{ */
|
function reverseLookup($path) /* {{{ */
|
||||||
{
|
{
|
||||||
|
$path = urldecode($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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user