GWicke has submitted this change and it was merged.

Change subject: Revert "Parse multipart/form-data with busboy"
......................................................................


Revert "Parse multipart/form-data with busboy"

This reverts commit 7dfafc3eab9a1b0ad7a9b5ef24ab161ec9983072.

Change-Id: If0c25162f2a261b1fc39388ef3c44f01eb9750d3
---
M js/api/ParserService.js
M js/package.json
2 files changed, 2 insertions(+), 4 deletions(-)

Approvals:
  GWicke: Verified; Looks good to me, approved



diff --git a/js/api/ParserService.js b/js/api/ParserService.js
index 10268aa..cf67ec3 100644
--- a/js/api/ParserService.js
+++ b/js/api/ParserService.js
@@ -19,7 +19,6 @@
 
 // global includes
 var express = require('express'),
-       busboy = require('connect-busboy'),
        domino = require( 'domino' ),
        jsDiff = require('diff'),
        childProc = require('child_process'),
@@ -105,7 +104,7 @@
  * @param {string} content The content we should put in the textarea
  */
 var textarea = function ( res, action, name, content ) {
-       res.write('<form method=POST action="' + action + '" 
enctype="multipart/form-data"><textarea name="' + name + '" cols=90 rows=9>');
+       res.write('<form method=POST action="' + action + '"><textarea name="' 
+ name + '" cols=90 rows=9>');
        res.write( ( content && htmlSpecialChars( content) ) || '' );
        res.write('</textarea><br><input type="submit"></form>');
 };
diff --git a/js/package.json b/js/package.json
index 3eae3b2..1b556ac 100644
--- a/js/package.json
+++ b/js/package.json
@@ -18,8 +18,7 @@
                "express": "2.5.x",
                "html5-entities": "~0.5.0",
                "html5": "0.3.15",
-               "es6-shim": 
"git+https://github.com/paulmillr/es6-shim#7dc668687c3a89ed9e7b6d6c6369f0ba8ebf8731";,
-               "connect-busboy": "0.0.1"
+               "es6-shim": 
"git+https://github.com/paulmillr/es6-shim#7dc668687c3a89ed9e7b6d6c6369f0ba8ebf8731";
        },
        "devDependencies": {
                "colors": "0.x.x",

-- 
To view, visit https://gerrit.wikimedia.org/r/93882
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If0c25162f2a261b1fc39388ef3c44f01eb9750d3
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Parsoid
Gerrit-Branch: master
Gerrit-Owner: GWicke <[email protected]>
Gerrit-Reviewer: GWicke <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to