projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libs/web: Prevent luci.http to prematurely parse the POST data
[project/luci.git]
/
libs
/
web
/
luasrc
/
http.lua
diff --git
a/libs/web/luasrc/http.lua
b/libs/web/luasrc/http.lua
index
dbfcad7
..
6838220
100644
(file)
--- 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