What steps will reproduce the problem?
1. var uri=new goog.Uri('https://[2001:1:2:3::10]:8080/path/to?h=1');
2. var s = uri.toString();
3. s == "https:%5B2001:1:2:3::10%5D:8080/path/to"
4. uri.domain_ == ""
What is the expected output? What do you see instead?
expect:s == "https://[2001:1:2:3::10]:8080/path/to?h=1", domain_==
[2001:1:2:3::10]
result: "https:%5B2001:1:2:3::10%5D:8080/path/to?h=1", ""
What version of the product are you using? On what operating system?
closure trunk and on Linux
Please provide any additional information below.
Original issue reported on code.google.com by simonz5...@gmail.com on 29 Jul 2011 at 1:35
Original issue reported on code.google.com by
simonz5...@gmail.com
on 29 Jul 2011 at 1:35