Differences
This shows you the differences between the selected revisions of the page.
2017-10-04 | 2017-10-05 | ||
bumping version (martin) | url-encoding special characters in path (martin) | ||
Line 14: | Line 14: | ||
# @flag RemoteFiles | # @flag RemoteFiles | ||
# @flag ShowResultsInMsgBox | # @flag ShowResultsInMsgBox | ||
- | # @version 2 | + | # @version 3 |
# @homepage ~~SELF~~ | # @homepage ~~SELF~~ | ||
# @require WinSCP 5.10 | # @require WinSCP 5.10 | ||
Line 73: | Line 73: | ||
$urlPath = $path.SubString($webRoot.Length) | $urlPath = $path.SubString($webRoot.Length) | ||
+ | $urlPath = ($urlPath -split "/" | %{ [System.Uri]::EscapeDataString($_) }) -join "/" | ||
if ($https) | if ($https) |