summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/controllerfunctions.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/controllerfunctions.lua b/lib/controllerfunctions.lua
index bccd847..c1461bc 100644
--- a/lib/controllerfunctions.lua
+++ b/lib/controllerfunctions.lua
@@ -43,7 +43,7 @@ function handle_clientdata(form, clientdata)
value.value = {}
if clientdata[name] and clientdata[name] ~= "" then
-- for www we use \r separated list
- for ip in string.gmatch(clientdata[name].."\n", "%s*(%S[^\n]*%S)%s*\n") do
+ for ip in string.gmatch(clientdata[name].."\n", "%s*([^\n]*%S)%s*\n") do
table.insert(value.value, ip)
end
else