remove urlencoded

这个提交包含在:
root 2015-10-28 06:22:15 +00:00
父节点 e0dde70c14
当前提交 3dd2b30586

查看文件

@ -61,9 +61,12 @@ function eagerLoad() {
, function () { , function () {
require('body-parser').json(); require('body-parser').json();
} }
/*
// do not use urlencoded as it enables csrf
, function () { , function () {
require('body-parser').urlencoded(); require('body-parser').urlencoded();
} }
*/
].forEach(function (fn) { ].forEach(function (fn) {
promise = promise.then(function (thing) { promise = promise.then(function (thing) {
return new PromiseA(function (resolve) { return new PromiseA(function (resolve) {