URI
URI copied to clipboard
resolveReference missing root /
This test code fails for me:
test = new URI("http://localhost:8080/foo.html"); assert.equal( test.resolveReference("foobar.html"), "http://localhost:8080/foobar.html", "resolveReference");
The incorrect output is (missing the root "/"): "http://localhost:8080foobar.html"