Skip to content

Commit

Permalink
Remove 8080 during forwarding
Browse files Browse the repository at this point in the history
  • Loading branch information
BronzBierd committed Jan 10, 2025
1 parent c6f1b18 commit 324c13b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/Helpers/XForwardedForHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public static string BuildUrlString(string forwardedHost, string forwardedPort,
};

var portComponent =
string.IsNullOrEmpty(forwardedPort) || forwardedPort == "80" || forwardedPort == "443"
string.IsNullOrEmpty(forwardedPort) || forwardedPort == "80" || forwardedPort == "443" || forwardedPort == "8080"
? ""
: $":{forwardedPort}";

Expand Down

0 comments on commit 324c13b

Please sign in to comment.