You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although host is case-insensitive, producers and normalizers should use lowercase for registered names and hexadecimal addresses for the sake of uniformity, while only using uppercase letters for percent-encodings.
The text was updated successfully, but these errors were encountered:
estrattonbailey
changed the title
URL should normalize host
URL should normalize host according to spec
Nov 22, 2023
The URL implementation used by this library doesn't appear to normalize URL hostnames in the same way as the implementations of Node 18 and WHATWG.
Here's a repro: https://replit.com/@estrattonbailey/URL-normalization
whatwg-url-without-unicode doesn't have Issues enabled or I would have filed there.
The spec says this:
The text was updated successfully, but these errors were encountered: