Url encode path in the native share

This commit is contained in:
Robin Appelman 2014-08-24 13:25:25 +02:00
commit dc13d50f06
2 changed files with 2 additions and 1 deletions

View file

@ -64,7 +64,7 @@ class NativeShare implements IShare {
$url = sprintf('smb://%s/%s', $this->server->getHost(), $this->name);
if ($path) {
$path = trim($path, '/');
$url .= '/' . $path;
$url .= '/' . rawurlencode($path);
}
return $url;
}