diff --git a/files/usr/lib/lua/aredn/http.lua b/files/usr/lib/lua/aredn/http.lua index 8f0b2e30..4ac79c73 100755 --- a/files/usr/lib/lua/aredn/http.lua +++ b/files/usr/lib/lua/aredn/http.lua @@ -58,7 +58,7 @@ function parsecgi(str) local rv = {} for pair in str:gmatch"[^&]+" do local key, val = pair:match"([^=]*)=(.*)" - if key then rv[key] = val end + if key then rv[cgidecode(key)] = cgidecode(val) end end return rv end diff --git a/files/www/cgi-bin/signal b/files/www/cgi-bin/signal index 59d5c2f5..95580f84 100755 --- a/files/www/cgi-bin/signal +++ b/files/www/cgi-bin/signal @@ -60,7 +60,7 @@ $header = <