Kenny Root fc01794f33 Make Uri.parseUserPart, parseHost, and parsePort symmetric
Currently parseUserPart uses the encoded authority to split the URI
into user and non-user parts, but the parseHost and parsePort uses
the decoded URI to split the URI into non-host, host, and port parts.
This gives unexpected results when %40 ('@') and %3a (':') is used
in a URI:

Uri test = Uri.parse("http://bob%40lee%3ajr@example.com:42/");
test.getUserInfo() => "bob@lee:jr"
test.getHost() => "lee:jr@example.com" (should be "example.com")
test.getPort() => -1 (should be 42)
2009-09-14 17:45:04 -07:00
..
2009-07-21 11:16:54 -07:00
2009-08-11 13:12:34 -07:00
2009-07-31 17:38:20 -07:00
2009-08-11 13:12:34 -07:00
2009-05-20 11:28:04 -07:00
2009-08-31 09:17:57 -07:00
2009-07-29 14:25:07 -07:00