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>  
> - 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
Received on Saturday, 7 March 2009 08:39:05 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:47 UTC