Page MenuHomePhabricator

IE6, 7, 8 -- UploadWizard returns "required field missing" error
Closed, ResolvedPublic

Description

Author: neilk

Description:
Uploads would always fail with the complaint that a required field was missing from the API call.


Version: unspecified
Severity: critical

Details

Reference
bz26469

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:18 PM
bzimport added a project: UploadWizard.
bzimport set Reference to bz26469.

neilk wrote:

Main problem was that IE was not submitting form in proper encoding (multipart/form-data) for a form containing a file. The file parameter was omitted and the remaining parameters submitted in urlencoded style.

Partially fixed in r78642, by setting enctype of form to encType. IE8 is persnickety about attribute case, even though there is no such "T" in the W3C standard.

Fixed for IE6-8 in r79133, by moving attributes to be created along with form -- apparently IE does not like modifying enctype after the fact.