remove urlencoded
这个提交包含在:
父节点
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) {
|
||||||
|
正在加载...
x
在新工单中引用
屏蔽一个用户