var uri = URI("http://firstname.lastname@example.org:email@example.com:8080/some/path/foo.html?hello=world#target/here")
uri.host() => "doe.com:firstname.lastname@example.org:8080" should be "example.org"
fixing parser to accept malformed userinfo (non-encoded email address…
…) - closes #108
I've modified the parser to accept your input. you should be aware of the fact that the URI you provided is malformed - i.e. the @ needs to be percent-encoded. This is fixed in master and will be included in the next release.