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

fix socket pathname #338

Merged
merged 1 commit into from
Jan 11, 2016
Merged

fix socket pathname #338

merged 1 commit into from
Jan 11, 2016

Conversation

dimsmol
Copy link
Contributor

@dimsmol dimsmol commented Dec 8, 2015

Fixes bug in socket url composing which produces incorrect url from webpack-dev-server/client?<some_url> entry if some_url has schema omitted or doesn't end with /.

For instance, for webpack-dev-server/client?http://localhost:3000/ correct socket url is produced, but for both webpack-dev-server/client?//localhost:3000/ and webpack-dev-server/client?http://localhost:3000 produced urls are incorrect.

This PR fixes the issue, restores compatibility with v1.10.1 in which all the mentioned variants worked well and also restores conformity with the docs.

sokra added a commit that referenced this pull request Jan 11, 2016
@sokra sokra merged commit e85e8f6 into webpack:master Jan 11, 2016
@sokra
Copy link
Member

sokra commented Jan 11, 2016

Thanks

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.

None yet

2 participants