Skip to content

Commit 3095a32

Browse files
authored
Issue 3886 - Trim url (#3916)
Fixes #3886 Co-authored-by: freddydk <freddydk@users.noreply.github.com>
1 parent 68de853 commit 3095a32

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

HelperFunctions.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ function CopyAppFilesToFolder {
559559
if ($appFile -like "http://*" -or $appFile -like "https://*") {
560560
$appUrl = $appFile
561561
$appFileFolder = Join-Path ([System.IO.Path]::GetTempPath()) ([Guid]::NewGuid().ToString())
562-
$appFile = Join-Path $appFileFolder ([Uri]::UnescapeDataString([System.IO.Path]::GetFileName($appUrl.Split('?')[0])))
562+
$appFile = Join-Path $appFileFolder ([Uri]::UnescapeDataString([System.IO.Path]::GetFileName($appUrl.Split('?')[0].TrimEnd('/'))))
563563
Download-File -sourceUrl $appUrl -destinationFile $appFile
564564
CopyAppFilesToFolder -appFile $appFile -folder $folder
565565
if (Test-Path $appFileFolder) {

ReleaseNotes.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
6.1.5
22
Include AuthContext and Environment in Parameters for InstallMissingDependencies when called from Run-AlPipeline
3+
Issue 3886 Error on installing apps, app file path is not built correctly from url (ends with "\")
34
AL-Go issue 1695 Fail early if app.json cannot be read
45
Issue with BC artifact 27.0.33668.0: app compilation fails because of analyzers not being loaded properly
56
Avoid using dotnet 9 for assemblyProbingPaths (for now)

0 commit comments

Comments
 (0)