Skip to content
Snippets Groups Projects
Commit 392be781 authored by Thomas Müller's avatar Thomas Müller
Browse files

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

the path must be encoded because within the smb4pph code it's decoded again - pretty easy but still .....
parent 7776d047
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment