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 file URL serialization #22

Closed
domenic opened this issue Jul 28, 2015 · 0 comments
Closed

Fix file URL serialization #22

domenic opened this issue Jul 28, 2015 · 0 comments
Assignees

Comments

@domenic
Copy link
Member

domenic commented Jul 28, 2015

The current bug we need to fix is that parsing /foo/bar against file:/path/to/docroot/index.html currently gives file:/foo/bar, whereas it should give file:///foo/bar.

In fact, just parsing file:/path/to/docroot/index.html should give back file:///path/to/docroot/index.html.

The complication here is that we have no tests for href serialization, which is horrible.

Related: whatwg/url#52 web-platform-tests/wpt#2038

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