Test 1

Input: "http://user:pass@foo:21/bar;par?b#c"

Base: "http://example.org/foo/bar"

Results

agent href
refimpl http://user:pass@foo:21/bar;par?b#c
addressable http://user:pass@foo:21/bar;par?b#c
chrome http://user:pass@foo:21/bar;par?b#c
firefox http://user:pass@foo:21/bar;par?b#c
galimatias http://user:pass@foo:21/bar;par?b#c
nodejs http://user:pass@foo:21/bar;par?b#c
opera http://foo:21/bar;par?b#c
perl http://user:pass@foo:21/bar;par?b#c
rust http://user:pass@foo:21/bar;par?b#c
safari http://user:pass@foo:21/bar;par?b#c
spartan A security problem occurred.

Properties

agent protocol username password hostname port pathname search hash
refimpl http: user pass foo 21 /bar;par ?b #c
addressable http: foo 21 /bar;par ?b #c
chrome http: user pass foo 21 /bar;par ?b #c
firefox http: user pass foo 21 /bar;par ?b #c
galimatias http: user pass foo 21 /bar;par ?b #c
nodejs http: user pass foo 21 /bar;par ?b #c
opera http: foo 21 /bar;par ?b #c
perl http: user pass foo 21 /bar;par ?b #c
rust http: user pass foo 21 /bar;par ?b #c
safari http: foo 21 /bar;par ?b #c
spartan A security problem occurred. A security problem occurred. A security problem occurred. A security problem occurred. A security problem occurred. A security problem occurred.

User Agents

refimpl: reference-implementation @ Fri Dec 26 2014 11:15:20 GMT-0500 (EST)

addressable: addressable (2.3.6)

chrome: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.65 Safari/537.36

firefox: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0

galimatias: galimatias-0.2.0

nodejs: node.js 0.10.26

opera: Opera/9.80 (Macintosh; Intel Mac OS X 10.9.5) Presto/2.12.388 Version/12.16

perl: Perl URI version 1.60

rust: url 0.2.8 (git+https://github.com/servo/rust-url)

safari: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/600.1.17 (KHTML, like Gecko) Version/7.1 Safari/537.85.10

spartan: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36 Edge/12.0