Bump module version to 1.5.4 and update Invoke-GiteaFileDownload to handle URL encoded characters in file names. Update pester tests to account for changes.
This commit is contained in:
@@ -476,6 +476,7 @@ Function Invoke-GiteaFileDownload {
|
||||
}
|
||||
|
||||
$DownloadFilePath = [System.Uri]::UnescapeDataString($DownloadFilePath)
|
||||
$DownloadFileName = [System.Uri]::UnescapeDataString($DownloadFileName)
|
||||
|
||||
if ($PreserveRelativePath -and $outputPath) {
|
||||
# If PreserveRelativePath is used, set up the directory structure
|
||||
|
||||
Reference in New Issue
Block a user