fix: DoH endpoint accepts loopback, TLS cert includes IP SANs #88

Merged
razvandimescu merged 4 commits from fix/doh-loopback-san into main 2026-04-13 05:03:31 +08:00
Showing only changes of commit 305935ed98 - Show all commits

View File

@@ -70,9 +70,7 @@ fn strip_port(h: &str) -> Option<&str> {
if base.contains(':') {
return None;
}
port.bytes()
.all(|b| b.is_ascii_digit())
.then_some(base)
port.bytes().all(|b| b.is_ascii_digit()).then_some(base)
}
}