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

username/password are not inherited from base URL #25

Closed
Sebmaster opened this issue May 30, 2015 · 0 comments
Closed

username/password are not inherited from base URL #25

Sebmaster opened this issue May 30, 2015 · 0 comments

Comments

@Sebmaster
Copy link

The test cases and the spec have different behaviour here, I think...

new URL("/some/path", "http://user@example.org/smth").href === "http://user@example.org/some/path" according to tests, but an implementation according to spec leads to "http://example.org/some/path".

Fixes are needed (at least) in the RELATIVE state and the RELATIVE_SLASH state. Looks like this in code. Example failures from the tests here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant