From: Roland Häder Date: Mon, 11 Sep 2023 20:27:46 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=151c30f50ea6b9ce3f18da1b63de13349c8ef01e;p=fba.git Continued: - some people think that CamelCase.Domain is something to be proud of - truth is, that those upper-case characters are being lower-cased before a DNS server is been queried --- diff --git a/fba/http/nodeinfo.py b/fba/http/nodeinfo.py index e18daff..5626812 100644 --- a/fba/http/nodeinfo.py +++ b/fba/http/nodeinfo.py @@ -197,7 +197,7 @@ def fetch_wellknown_nodeinfo(domain: str) -> dict: # Default is that 'href' has a complete URL, but some hosts don't send that logger.debug("link[rel]='%s' matches niid='%s'", link["rel"], niid) - url = link["href"] + url = link["href"].lower() components = urlparse(url) logger.debug("components[%s]='%s'", type(components), components)