diegoles / closure-library

Automatically exported from code.google.com/p/closure-library
0 stars 0 forks source link

ipv6 literal support in Uri module #353

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

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

GoogleCodeExporter commented 8 years ago

Original comment by pall...@google.com on 16 Nov 2011 at 4:27

GoogleCodeExporter commented 8 years ago

Original comment by vbha...@google.com on 9 May 2012 at 10:54