Skip to content

Commit 872514f

Browse files
Uplift of #9951 (squashed) to beta
1 parent 0981a07 commit 872514f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

chromium_src/net/base/lookup_string_in_fixed_set.cc

+3-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ int LookupSuffixInReversedSet(const unsigned char* graph,
5353
*suffix_length = strlen(decentralized_dns::kEthDomain) - 1;
5454
return kDafsaFound;
5555
}
56-
if (base::EndsWith(host, decentralized_dns::kDNSForEthDomain)) {
56+
57+
if (include_private &&
58+
base::EndsWith(host, decentralized_dns::kDNSForEthDomain)) {
5759
*suffix_length = strlen(decentralized_dns::kDNSForEthDomain) - 1;
5860
return kDafsaFound;
5961
}

0 commit comments

Comments
 (0)