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

A reference resolution does not match RFC3986 #401

Open
TakashiSasaki opened this issue Aug 10, 2020 · 0 comments
Open

A reference resolution does not match RFC3986 #401

TakashiSasaki opened this issue Aug 10, 2020 · 0 comments

Comments

@TakashiSasaki
Copy link

There is a case that does not match RFC 3986.

In RFC 3986 Section 5.4 Reference Resolution Examples,
a relative URI reference //g against for the base URI http://a/b/c/d;p?q
should be resolved to http://g, whereas URI.js brings different result http://g/.

Here is a code.

var x = new URI("//g" , "http://a/b/c/d;p?q");
console.log(x.toString());

We get http://g/ in the console.
I expect it to be http://g.

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