Skip to content
This repository has been archived by the owner on Jul 9, 2023. It is now read-only.

Commit

Permalink
#769 Improved logic to handle second level domains
Browse files Browse the repository at this point in the history
  • Loading branch information
justcoding121 committed Jul 13, 2022
1 parent 088e623 commit a184d1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Titanium.Web.Proxy/Helpers/HttpHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ internal static string GetWildCardDomainName(string hostname)
{
// issue #769
// do not create wildcard if second level domain like: pay.vn.ua
if (split.Length == 3 && split[1].Length <= 3)
if (split[0] != "www" && split[1].Length <=3)
{
return hostname;
}
Expand Down

0 comments on commit a184d1c

Please sign in to comment.