Skip to content

Conversation

@genben
Copy link

@genben genben commented Aug 24, 2020

Fix issue with parsing of file URIs on Windows and URL-encoded characters (%xx) on both Windows and *nix.

On Windows, file URI "file:///c:/dir/file.css" should be converted to "c:/dir/file.css" rather than to "/c:/dir/file.css".

URL-encoded characters should be converted to regular UTF-8 characters, for example, "%20" to " " (space).
So, "file:///c:/Program%20Files/file.css" becomes "c:/Program Files/file.css"

genben added 4 commits August 24, 2020 14:36
"file:///c:/dir/file.ext" should be converted to "c:/dir/file.ext" rather than "/c:/dir/file.ext"
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.

1 participant