W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2011

[Bug 13678] New: Misleading encoding in FormData objects created on HTML Forms

From: <bugzilla@jessica.w3.org>
Date: Fri, 05 Aug 2011 03:18:12 +0000
To: public-webapps@w3.org
Message-ID: <bug-13678-2927@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13678

           Summary: Misleading encoding in FormData objects created on
                    HTML Forms
           Product: WebAppsWG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XHR 2.0
        AssignedTo: annevk@opera.com
        ReportedBy: wfernandom2004@gmail.com
         QAContact: member-webapi-cvs@w3.org
                CC: mike@w3.org, public-webapps@w3.org


Using xhr_object.send(new FormData(html_form_object)) allows to submit files
using xhr instead of using hidden iframes. However, currently, that will send
utf-8 encoded data instead of the html_form_object's encoding. This behavior
makes hard to web pages to maintain compatibility with older browsers that
require hidden iframes and use other encodings than utf-8. PHP, for instance,
uses the iso-8859-1 encoding by default.

Please see https://bugzilla.mozilla.org/show_bug.cgi?id=669239.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Friday, 5 August 2011 03:18:13 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:47 GMT