Skip to content
This repository was archived by the owner on Apr 14, 2021. It is now read-only.

Fix for an issue with file URLs on Windows#5

Open
rorticus wants to merge 1 commit intoandyearnshaw:masterfrom
rorticus:windows-paths-fix
Open

Fix for an issue with file URLs on Windows#5
rorticus wants to merge 1 commit intoandyearnshaw:masterfrom
rorticus:windows-paths-fix

Conversation

@rorticus
Copy link
Copy Markdown

@rorticus rorticus commented Mar 6, 2017

It looks like when generating the path to Intern on Windows, file:// URLs are not being stripped correctly.

Example,

file:///C:\absolute\path\to\intern is being stripped to /C:\absolute\path\to\intern.

This change simply tests to see if the URL is a Windows absolute file url and if so, strips off 3 slashes instead of 2.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant