Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow case-insensitive scheme as input #406

Open
dwalluck opened this issue Mar 5, 2025 · 0 comments
Open

Allow case-insensitive scheme as input #406

dwalluck opened this issue Mar 5, 2025 · 0 comments

Comments

@dwalluck
Copy link

dwalluck commented Mar 5, 2025

The spec should allow a case-insensitive scheme as input as per https://datatracker.ietf.org/doc/html/rfc3986#section-6.2.2.1 and https://en.wikipedia.org/wiki/URI_normalization. Note that this suggestion doesn't change anything else about the lowercase "pkg" being the normalized form.

The scheme (and host) components of the URI are case-insensitive and therefore should be normalized to lowercase. Example: HTTP://[email protected]/Foohttp://[email protected]/Foo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant