summaryrefslogtreecommitdiffhomepage
path: root/src/ffluci/http.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/ffluci/http.lua')
-rw-r--r--src/ffluci/http.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ffluci/http.lua b/src/ffluci/http.lua
index bf94105734..81076233b9 100644
--- a/src/ffluci/http.lua
+++ b/src/ffluci/http.lua
@@ -59,7 +59,7 @@ end
function formvalue(key, default)
local c = formvalues()
- for match in key:gmatch("%w+") do
+ for match in key:gmatch("[%w-_]+") do
c = c[match]
if c == nil then
return default