Page MenuHomePhabricator

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

Description

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

Details

Reference
bz59660