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

Commit 2f8286b

Browse files
fahlisaputrajustcoding121
authored andcommitted
Change '.' with ProxyConstants.DotSplit
1 parent 923a3bb commit 2f8286b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Titanium.Web.Proxy/Helpers/HttpHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ internal static string GetWildCardDomainName(string hostname)
152152
{
153153
// issue #769
154154
// do not create wildcard if second level domain like: .ac.id, .co.id
155-
string[] prefix = hostname.Split('.');
155+
string[] prefix = hostname.Split(ProxyConstants.DotSplit);
156156
if (prefix[1].Length <= 3)
157157
{
158158
return hostname;

0 commit comments

Comments
 (0)