use urlencode not rawurlencode

This commit is contained in:
Thomas Mueller 2013-02-11 21:25:29 +01:00
parent 392be78162
commit 0c1174770d
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ class SMB extends \OC\Files\Storage\StreamWrapper{
if (substr($path, -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;
}