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

Absolute path file:// URLs broken on Windows #17

Closed
axw opened this issue Nov 6, 2018 · 1 comment
Closed

Absolute path file:// URLs broken on Windows #17

axw opened this issue Nov 6, 2018 · 1 comment

Comments

@axw
Copy link

axw commented Nov 6, 2018

6089779 broke file:// URLs on Windows, where the path begins with something like C:/

e.g. for file://C:/foo.txt, url.Parse will place "C:" in the Host field, and "/foo.txt" in the Path field.

@axw
Copy link
Author

axw commented Nov 6, 2018

Never mind, I realised I was holding it wrong. Just need another '/' at the front (e.g. file:///C:/foo.txt)

@axw axw closed this as completed Nov 6, 2018
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

No branches or pull requests

1 participant