You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment relativeTo() and absoluteTo() only work on the path part. I'll revisit the Transform References algorithm. you're right, this seems to be a bug.
The output of:
URI("//localhost:8080/a/abcd.txt").absoluteTo("https://localhost:8080/e/g.txt").toString())
should be (AFAIK): https://localhost:8080/a/abcd.txt
instead it is: //localhost:8080/a/abcd.txt
Am I missing something. Would appreciate it if you fixed this. Thanks for a wonderful library!
Protocol-relative URL: http://paulirish.com/2010/the-protocol-relative-url/
Jsfiddle: http://jsfiddle.net/zYPKb/
The text was updated successfully, but these errors were encountered: