mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
Url encode path in the native share
This commit is contained in:
parent
65b76d6428
commit
dc13d50f06
2 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue