diff --git a/source/Calamari.Shared/Integration/Packages/Download/OciPackageDownloader.cs b/source/Calamari.Shared/Integration/Packages/Download/OciPackageDownloader.cs index f72b6368f..cfcc374b0 100644 --- a/source/Calamari.Shared/Integration/Packages/Download/OciPackageDownloader.cs +++ b/source/Calamari.Shared/Integration/Packages/Download/OciPackageDownloader.cs @@ -180,7 +180,7 @@ static void ApplyAccept(HttpRequestMessage request) static Uri GetApiUri(Uri feedUri) { var httpScheme = BuildScheme(IsPlainHttp(feedUri)); - var r = feedUri.ToString().Replace($"oci{Uri.SchemeDelimiter}", $"{httpScheme}{Uri.SchemeDelimiter}").TrimEnd('/'); + var r = feedUri.ToString().Replace($"oci{Uri.SchemeDelimiter}", $"{httpScheme}{Uri.SchemeDelimiter}"); var uri = new Uri(r); if (!r.EndsWith("/" + VersionPath)) {