W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > September 2012

[Bug 11587] [pending URL spec] window.location.hostname should remove brackets of IPv6 host

From: <bugzilla@jessica.w3.org>
Date: Fri, 28 Sep 2012 15:23:43 +0000
Message-Id: <E1THcPn-0004Lz-Nc@jessica.w3.org>
To: public-html-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=11587

--- Comment #5 from NARUSE, Yui <naruse@airemix.jp> 2012-09-28 15:23:43 UTC ---
(In reply to comment #4)
> Why would the brackets be removed? How can you then distinguish it from other
> host names?

If it has a colon, it is IPv6 address.
Brackets seem to be required to distinguish from the separator of port, but it
won't appear here.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Friday, 28 September 2012 15:23:48 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:33 UTC