From b184b244ad9342a384ba87f48c6b48805a3b0f1f Mon Sep 17 00:00:00 2001 From: Ryan Schmitt Date: Wed, 2 Oct 2019 15:48:28 -0700 Subject: [PATCH] Fix fallback PublicSuffixMatcher --- .../org/apache/http/conn/util/PublicSuffixMatcherLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpclient/src/main/java/org/apache/http/conn/util/PublicSuffixMatcherLoader.java b/httpclient/src/main/java/org/apache/http/conn/util/PublicSuffixMatcherLoader.java index 8783c5b96..3d762c188 100644 --- a/httpclient/src/main/java/org/apache/http/conn/util/PublicSuffixMatcherLoader.java +++ b/httpclient/src/main/java/org/apache/http/conn/util/PublicSuffixMatcherLoader.java @@ -95,7 +95,7 @@ public final class PublicSuffixMatcherLoader { } } } else { - DEFAULT_INSTANCE = new PublicSuffixMatcher(Arrays.asList("com"), null); + DEFAULT_INSTANCE = new PublicSuffixMatcher(DomainType.ICANN, Arrays.asList("com"), null); } } }