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

Fix for an issue with file URLs on Windows #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rorticus
Copy link

@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