diff options
author | Steven Barth <steven@midlink.org> | 2008-07-16 14:26:40 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-07-16 14:26:40 +0000 |
commit | 66a6492ae5aa9779af6d22eaddf0f5f253ed1189 (patch) | |
tree | 2b6b0ffb33b9b17a38ea51dc0c9dcf2790850310 /libs/web/luasrc/http.lua | |
parent | 65cde96c5b05e04c24b0f272b577df67193d7c0b (diff) |
libs/web: Prevent luci.http to prematurely parse the POST data
modules/admin-mini: Added fw-upgrade page
Diffstat (limited to 'libs/web/luasrc/http.lua')
-rw-r--r-- | libs/web/luasrc/http.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/web/luasrc/http.lua b/libs/web/luasrc/http.lua index dbfcad777..6838220ce 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 |