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

Slashes in URLs are converted into backslashes on Windows #1778

Closed
achimnol opened this issue Jun 1, 2015 · 0 comments
Closed

Slashes in URLs are converted into backslashes on Windows #1778

achimnol opened this issue Jun 1, 2015 · 0 comments

Comments

@achimnol
Copy link

achimnol commented Jun 1, 2015

I'm using node.js 0.12.4 on Windows 8.1 64bit and have installed vulcanize by npm install -g vulcanize as instructed. The compilation process goes fine without warnings nor errors.

Surprisingly, I see some images and CSS styles are missing after vulcanizing because it has converted all slashes in every URL into backslashes!
For example: background-image: url(somepath/somefile.png) => background-image: url(somepath\somefile.png) and the browser is trying to load "somepathsomefile.png". In some contexts, they are converted again into percent-encoding, %5C.
Loading the original codes in the browser works perfectly fine but only the vulcanized code has missing resources like this. This issue does not happen on Mac and Linux.

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