mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 09:14:06 +02:00
make path encoding compatible with smb2 and smb3
This commit is contained in:
parent
443a524491
commit
f1e17ba6e2
1 changed files with 1 additions and 0 deletions
|
|
@ -413,6 +413,7 @@ class Share extends AbstractShare {
|
|||
}
|
||||
$path = str_replace('/', '\\', $path);
|
||||
$path = str_replace('"', '^"', $path);
|
||||
$path = ltrim($path, '\\');
|
||||
return '"' . $path . '"';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue