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

Cannot empty URL port #10508

Closed
stevenvachon opened this issue Dec 28, 2016 · 3 comments
Closed

Cannot empty URL port #10508

stevenvachon opened this issue Dec 28, 2016 · 3 comments
Labels
whatwg-url Issues and PRs related to the WHATWG URL implementation.

Comments

@stevenvachon
Copy link

const url = new URL("http://domain:12345/");
url.port = "";
console.log(url.port); //-> "12345"
@stevenvachon
Copy link
Author

@jasnell

@targos
Copy link
Member

targos commented Dec 28, 2016

This will be fixed in #10317

@stevenvachon
Copy link
Author

Thanks!

@joyeecheung joyeecheung added the whatwg-url Issues and PRs related to the WHATWG URL implementation. label Jan 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
whatwg-url Issues and PRs related to the WHATWG URL implementation.
Projects
None yet
Development

No branches or pull requests

3 participants