summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-02-11 21:25:29 +0100
committerThomas Mueller <thomas.mueller@tmit.eu>2013-02-11 21:25:29 +0100
commit0c1174770d29d9d4ccf526d2180b27db65067625 (patch)
treefa15c47725741bdfb819ed2c379460af418236d9 /apps
parent392be7816261d4e7af33257b705b84d448a3bed8 (diff)
downloadnextcloud-server-0c1174770d29d9d4ccf526d2180b27db65067625.tar.gz
nextcloud-server-0c1174770d29d9d4ccf526d2180b27db65067625.zip
use urlencode not rawurlencode
Diffstat (limited to 'apps')
-rw-r--r--apps/files_external/lib/smb.php2
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;
}