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 path conversion protocol #408

Merged
merged 2 commits into from
Oct 7, 2018
Merged

fix path conversion protocol #408

merged 2 commits into from
Oct 7, 2018

Conversation

facelessuser
Copy link
Owner

@facelessuser facelessuser commented Oct 7, 2018

On Windows, we will use the notation ///c:/path when converting an an absolute drive path to a URL. // means use the current default protocol. This isn't necessarily correct in the way we are using it. Instead we should either apply the file:// scheme to all our converted links or strip the default assumed protocol. For now we are going to strip the assumed default protocol.

On Windows, we will use the notation `///c:/path` when converting an an absolute drive path to a URL.  `//` means use the current default protocol.  This isn't necessarily correct in the way we are using it.  Instead we should use either apply the `file://` scheme  to all our converted links or  strip the default assumed protocol. For now we are going to strip the assumed default protocol.
@facelessuser facelessuser added this to the 6.0.0 milestone Oct 7, 2018
Add a test that covers windows paths for relative links.  Also consolidate windows specific path 2 url conversion to one place.
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.

None yet

1 participant