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 password not ok #34

Closed
nicolashenry opened this issue Oct 7, 2015 · 1 comment
Closed

Empty password not ok #34

nicolashenry opened this issue Oct 7, 2015 · 1 comment
Assignees

Comments

@nicolashenry
Copy link

var url = new URL("http://user:[email protected]/");
url.password = "";
console.log(url.href); // "http://user:@test.com/"

The expected output is "http://[email protected]/" and not "http://user:@test.com/".

@Sebmaster
Copy link
Member

You're right, the spec mentions this already. I'll see if I can release an update without breaking anything - the spec is in a considerable amount of flux / non-working state right now 😕

@domenic domenic self-assigned this Jan 19, 2016
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

3 participants