I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 4fd834d1 authored by zzz's avatar zzz
Browse files

Util: Fix DoH handling of Cloudflare responses

parent 370f96ac
No related branches found
No related tags found
No related merge requests found
......@@ -318,7 +318,8 @@ public class DNSOverHTTPS implements EepGet.StatusListener {
continue;
}
}
if (!hostAnswer.equals(name)) {
// Cloudflare no longer adds the '.'
if (!(hostAnswer.equals(name) || host.equals(name))) {
log("name mismatch: " + name);
continue;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment