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 css-file read in windows #59

Closed
wants to merge 1 commit into from
Closed

Conversation

Zharktas
Copy link

url.resolve does not resolve correct url in windows since it doesn't
like backslashes.

If we inline following file:

<html>
<head>
    <link rel="stylesheet" href="css/style.css">
</head>
<body>
</body>

getHrefContent returns undefined in Windows, although in Linux the css-file is read just fine. This does not effect other operating systems.

url.resolve does not resolve correct url in windows since it doesn't
like backslashes.
@parshap
Copy link
Contributor

parshap commented Feb 26, 2015

@jrit: Is this still relevant? Does it apply to web-resource-inliner now?

@Zharktas: Would you mind testing your issue against the latest juice release?

@jrit
Copy link
Collaborator

jrit commented Feb 26, 2015

The related code is in web-resource-inliner now. I don't think this issue exists there though since I run on windows and think there are some very similar test cases already. In any case, this PR could be closed here.

@Zharktas
Copy link
Author

This probably is not an issue anymore, at least this PR is invalid since the affected function does not exist anymore. I can't actually test this since we haven't used this for over a year or so, and the dependency were somewhere deep in the npm dependency chain. But I close this this PR purely because it is already invalid.

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.

3 participants