forked from I2P_Developers/i2p.i2p
Util: Fix DoH handling of Cloudflare responses
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user