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:
@@ -12,7 +12,7 @@
|
||||
RootModule = 'PS-GiteaUtilities.psm1'
|
||||
|
||||
# Version number of this module.
|
||||
ModuleVersion = '1.5.3'
|
||||
ModuleVersion = '1.5.4'
|
||||
|
||||
# Supported PSEditions
|
||||
# CompatiblePSEditions = @()
|
||||
|
||||
@@ -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