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

[whatwg] URL encoding for XHR and Workers.

From: Anne van Kesteren <annevk@opera.com>
Date: Sat, 07 Mar 2009 17:39:05 +0100
Message-ID: <op.uqfkjasj64w2qv@annevk-t60.oslo.opera.com>
On Sat, 07 Mar 2009 00:51:51 +0100, Dmitry Titov <dimich at chromium.org>  
wrote:
> - XmlHttpRequest created on the Page would send its URL to server encoded
> using UTF8, irrespective to the encoding of the Page. However, a
> XmlHttpRequest created in the Worker would send the URL encoded using  
> Page's encoding. It seems that either XHR on the Page should also use  
> Page's
> encoding, or XHR in the Worker should use UTF-8. Bug?

I don't see how Web Workers specification overrides UTF-8 here.  
Admittedly, XMLHttpRequest does need to be updated to be able to get base  
URLs not derived from Window/Document.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Saturday, 7 March 2009 08:39:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:47:49 GMT