summaryrefslogtreecommitdiffhomepage
path: root/libs/web/luasrc/http.lua
diff options
context:
space:
mode:
Diffstat (limited to 'libs/web/luasrc/http.lua')
-rw-r--r--libs/web/luasrc/http.lua4
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