We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dd23c69 + 7768a80 commit e8f3460Copy full SHA for e8f3460
1 file changed
src/NuGet.Server/Core/Helpers.cs
@@ -22,7 +22,7 @@ public static string GetBaseUrl(Uri currentUrl, string applicationPath)
22
var uriBuilder = new UriBuilder(currentUrl);
23
24
var repositoryUrl = uriBuilder.Scheme + "://" + uriBuilder.Host;
25
- if (uriBuilder.Port != 80)
+ if (uriBuilder.Port != 80 && uriBuilder.Port != 443)
26
{
27
repositoryUrl += ":" + uriBuilder.Port;
28
}
0 commit comments