diff --git a/src/Business/Grand.Business.Core/Extensions/AffiliateExtensions.cs b/src/Business/Grand.Business.Core/Extensions/AffiliateExtensions.cs index 049e0617e..700de876c 100644 --- a/src/Business/Grand.Business.Core/Extensions/AffiliateExtensions.cs +++ b/src/Business/Grand.Business.Core/Extensions/AffiliateExtensions.cs @@ -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(); }