For HTTP-family schemes, the `canonicalizeHost()` function passes the parsed host to the WHATWG URL parser and adopts its hostname without verifying that the parser consumed the entire input as a host. This allows the authority to be silently rewritten by dropping data before an at-sign and stripping tab, carriage-return, and line-feed characters without reporting an error. Applications enforcing host-based policies, such as denylists, loopback filtering, redirect validation, or outbound proxy routing, may find that the canonical host diverges from the checked representation, potentially steering traffic to an unintended destination.