use urlencode not rawurlencode
This commit is contained in:
parent
392be78162
commit
0c1174770d
|
@ -45,7 +45,7 @@ class SMB extends \OC\Files\Storage\StreamWrapper{
|
||||||
if (substr($path, -1)=='/') {
|
if (substr($path, -1)=='/') {
|
||||||
$path=substr($path, 0, -1);
|
$path=substr($path, 0, -1);
|
||||||
}
|
}
|
||||||
$path = rawurlencode($path);
|
$path = urlencode($path);
|
||||||
return 'smb://'.$this->user.':'.$this->password.'@'.$this->host.$this->share.$this->root.$path;
|
return 'smb://'.$this->user.':'.$this->password.'@'.$this->host.$this->share.$this->root.$path;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue