pub fn is_transparent_resolver(host: &str) -> boolExpand description
Whether host is a DOI resolver rather than a content host (#533).
Exact match against TRANSPARENT_RESOLVER_HOSTS, deliberately without
wildcard support: evil-doi.org, doi.org.evil.test and www.doi.org
are all NOT resolvers, and the first two are what an attacker would
register.