W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2013

Re: [whatwg] Question about document.referrer (and document.URL, document.location.href) when IDN domains are in use

From: James Ross <whatwg-20070806@james-ross.co.uk>
Date: Thu, 21 Mar 2013 12:00:25 +0000
Message-ID: <DUB109-W71DF69E413904F0E7AF46AE3EB0@phx.gbl>
To: whatwg <whatwg@whatwg.org>
> Date: Wed, 20 Mar 2013 22:46:15 -0400
> From: bzbarsky@MIT.EDU
> To: whatwg@whatwg.org
> Subject: [whatwg] Question about document.referrer (and document.URL, document.location.href) when IDN domains are in use
>
> 1) Gecko shows exactly the string we put on the wire in
> document.referrer (punycode and all). document.URL and
> document.location.href show the non-ASCII chars in some cases.
>
> 2) WebKit (or at least Chrome) seems to return punycode for all three
> of these.
>
> 3) Opera seems to return non-ASCII chars for all three of these, at
> least in some cases.

IE 10 shows the non-ASCII chars in all three in the cases I've tried just now.

-- 
James Ross silver@warwickcompsoc.co.uk 		 	   		  
Received on Thursday, 21 March 2013 12:00:53 GMT

This archive was generated by hypermail 2.3.1 : Thursday, 21 March 2013 12:00:53 GMT