Page MenuHomePhabricator

VisualEditor: Use multipart/form-data encoding when POSTing HTML
Closed, ResolvedPublic


Per Gabriel's report via email, when VE POSTs HTML, it uses multipart/x-www-urlencoded to encode the POST body, which results in a lot of URL-encoding of special characters (especially <>") in the HTML. We should instead use multipart/form-data , which is more efficient for such large POST bodies with many special characters.

TODO: Figure out how to tell the browser to use this encoding when sending an AJAX request.

Version: unspecified
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to Normal.Nov 22 2014, 2:18 AM
bzimport set Reference to bz59660.
Catrope created this task.Jan 5 2014, 3:14 AM

Change 105486 had a related patch set uploaded by Catrope:
Add multipart/form-data emulation to

Change 105486 merged by jenkins-bot:
Add multipart/form-data emulation to