From 66a6492ae5aa9779af6d22eaddf0f5f253ed1189 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Wed, 16 Jul 2008 14:26:40 +0000 Subject: libs/web: Prevent luci.http to prematurely parse the POST data modules/admin-mini: Added fw-upgrade page --- libs/web/luasrc/http.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/web/luasrc') diff --git a/libs/web/luasrc/http.lua b/libs/web/luasrc/http.lua index dbfcad7772..6838220ce8 100644 --- a/libs/web/luasrc/http.lua +++ b/libs/web/luasrc/http.lua @@ -51,8 +51,8 @@ function Request.__init__(self, env, sourcein, sinkerr) self.parsed_input = false end -function Request.formvalue(self, name) - if not self.parsed_input then +function Request.formvalue(self, name, noparse) + if not noparse and not self.parsed_input then self:_parse_input() end -- cgit v1.2.3