Skip to content

Conversation

@lpinca
Copy link
Member

@lpinca lpinca commented Feb 16, 2022

If the userinfo is present but empty, the parsed host is also empty, and
url.pathname is not '/', then readd the empty userinfo to url.href,
otherwise the original invalid URL might be transformed into a valid one
with url.pathname as host.

If the userinfo is present but empty, the parsed host is also empty, and
`url.pathname` is not `'/'`, then readd the empty userinfo to `url.href`,
otherwise the original invalid URL might be transformed into a valid one
with `url.pathname` as host.
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

Successfully merging this pull request may close these issues.

2 participants