Skip to content

Commit

Permalink
Disable port in UriBuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
support committed Feb 29, 2024
1 parent c45849e commit ce8fd7d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ public static string GenerateUrl(this Affiliate affiliate, string host)
query["affiliate"] = affiliate.FriendlyUrlName;
else
query["affiliateid"] = affiliate.Id;


uriBuilder.Port = -1;
uriBuilder.Query = query.ToString();
return uriBuilder.ToString();
}
Expand Down

0 comments on commit ce8fd7d

Please sign in to comment.