Browse Source

[YQTemplate] unconditionally dump request

main
Annwan 4 months ago
parent
commit
6661ae2383
  1. 5
      yqtemplate.lua

5
yqtemplate.lua

@ -25,10 +25,7 @@ return {
desc = "Creates Yokoka’s quest-style personal status page",
run = function(fcgi)
fcgi.print("Content-Type: text/html; charset=utf-8\r\n\r\n")
local data = nil
if fcgi.getenv("REQUEST_METHOD") == "POST" then
data = fcgi.post()
end
local data = fcgi.post()
fcgi.print(form({data = data}))
end
}
Loading…
Cancel
Save