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

Empty (but present) authority component lost #78

Open
chrysn opened this issue Jul 28, 2021 · 0 comments
Open

Empty (but present) authority component lost #78

chrysn opened this issue Jul 28, 2021 · 0 comments

Comments

@chrysn
Copy link

chrysn commented Jul 28, 2021

The library in its latest pip version (1.5.0; also observed in 1.4 as shipped in Debian) does not distinguish between present and absent authority components:

>>> rfc3986.urlparse('foo:///').unsplit()
'foo:/'

I don't see how RFC3986 would justify normalizing this away, especially given the comment on page41 that in some cases a URI would be normalized to one that has an empty (not absent) authority.

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