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

James Ross whatwg-20070806 at james-ross.co.uk
Thu Mar 21 05:00:25 PDT 2013


> Date: Wed, 20 Mar 2013 22:46:15 -0400
> From: bzbarsky at MIT.EDU
> To: whatwg at 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 at warwickcompsoc.co.uk 		 	   		  


More information about the whatwg mailing list