diff options
author | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-02-11 21:25:29 +0100 |
---|---|---|
committer | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-02-11 21:25:29 +0100 |
commit | 0c1174770d29d9d4ccf526d2180b27db65067625 (patch) | |
tree | fa15c47725741bdfb819ed2c379460af418236d9 /apps | |
parent | 392be7816261d4e7af33257b705b84d448a3bed8 (diff) | |
download | nextcloud-server-0c1174770d29d9d4ccf526d2180b27db65067625.tar.gz nextcloud-server-0c1174770d29d9d4ccf526d2180b27db65067625.zip |
use urlencode not rawurlencode
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_external/lib/smb.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/smb.php b/apps/files_external/lib/smb.php index e1070116642..e17ce1168dc 100644 --- a/apps/files_external/lib/smb.php +++ b/apps/files_external/lib/smb.php @@ -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; } |