the path must be encoded because within the smb4pph code it's decoded again - pretty easy but still .....

This commit is contained in:
Thomas Mueller 2013-02-11 20:32:44 +01:00
parent 7776d047b2
commit 392be78162
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ class SMB extends \OC\Files\Storage\StreamWrapper{
if (substr($path, -1)=='/') {
$path=substr($path, 0, -1);
}
$path = rawurlencode($path);
return 'smb://'.$this->user.':'.$this->password.'@'.$this->host.$this->share.$this->root.$path;
}