From 3dd2b3058650dea41bfa827ca7ad4d375e24a32c Mon Sep 17 00:00:00 2001 From: root Date: Wed, 28 Oct 2015 06:22:15 +0000 Subject: [PATCH] remove urlencoded --- bin/walnut | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/walnut b/bin/walnut index 2745a31..2d2f5d4 100755 --- a/bin/walnut +++ b/bin/walnut @@ -61,9 +61,12 @@ function eagerLoad() { , function () { require('body-parser').json(); } + /* + // do not use urlencoded as it enables csrf , function () { require('body-parser').urlencoded(); } + */ ].forEach(function (fn) { promise = promise.then(function (thing) { return new PromiseA(function (resolve) {