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

bzimport set Reference to bz59660.
Catrope created this task.Via LegacyJan 5 2014, 3:14 AM
gerritbot added a comment.Via ConduitJan 5 2014, 5:54 AM

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

gerritbot added a comment.Via ConduitJan 15 2014, 10:28 PM

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

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.