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

ipv6 all host [::] inline mode with error #672

Closed
NewFuture opened this issue Oct 27, 2016 · 6 comments
Closed

ipv6 all host [::] inline mode with error #672

NewFuture opened this issue Oct 27, 2016 · 6 comments

Comments

@NewFuture
Copy link
Contributor

I'm submitting a bug report

webpack and webpack-dev-server version:
webpack: 1.13.3
webpack-dev-server: 1.16.2

Please tell us about your environment:
Linux
Running server via CLI

webpack-dev-server --host "::" --hot --inline

Current behavior:

Uncaught SyntaxError: The URL 'http:/::' is invalid(…)

Expected/desired behavior:
work as --host 0.0.0.0

this bug coursed by parsing the ipv6 IP address .
the ipv6 url is parsed as :::8080 ,
which should be

{ip,port} => [ip]:port
{ ::,8080} => [::]:8080
@SpaceK33z
Copy link
Member

Thanks for your clear bug report. This was fixed in webpack-dev-server v2, which is currently in beta. See PR #644.

@NewFuture
Copy link
Contributor Author

@SpaceK33z
Copy link
Member

@NewFuture, oh haha okay. Fair enough. Would you be willing to send a PR to fix this? I don't have much time to fix this at the moment.

@NewFuture
Copy link
Contributor Author

OK, I have fixed it. 😸
I found another bug in ipv6, and fixed both.

see this #673

But , i think some test examples for ipv6 should be added.

🐱

@NewFuture NewFuture mentioned this issue Oct 28, 2016
9 tasks
@SpaceK33z
Copy link
Member

Released in 2.1.0-beta.10!

@NewFuture
Copy link
Contributor Author

😀 nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants