Skip to content

Cannot empty URL port #10508

New issue

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

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

Already on GitHub? # to your account

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
# for free to join this conversation on GitHub. Already have an account? # 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