W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > February 2011

[Bug 12065] Please point out that for <input type=file multiple> http://tools.ietf.org/html/rfc2388#section-4.2 should not be used. Instead each file should have its own field. Otherwise you break PHP.

From: <bugzilla@jessica.w3.org>
Date: Mon, 14 Feb 2011 19:13:09 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1Pp3rB-00062F-D8@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12065

Ian 'Hixie' Hickson <ian@hixie.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |ian@hixie.ch

--- Comment #2 from Ian 'Hixie' Hickson <ian@hixie.ch> 2011-02-14 19:13:08 UTC ---
There's actually no conflict with the RFC here, and the spec is technically
already correct, though I will be sure to add a note explaining this case.

The RFC says that you can use multipart/mixed only if a single form field has
multiple files as a set, but in the case of an <input type=file multiple>
control, each file generates a separate form field in the form data set.

As an aside: it wouldn't take much to get me to rewrite that RFC into the HTML
spec and give up on using it as an external reference, because it's not the
most well-written of RFCs. But if it's not truly needed, which so far it seems
it has not been, then I'd rather spend the time working on more important
things.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 14 February 2011 19:13:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 14 February 2011 19:13:11 GMT