fix args false

pull/28/head
loveshell 2014-09-24 16:19:15 +08:00
parent 686219a71c
commit 3b125676b1
1 changed files with 3 additions and 1 deletions

View File

@ -94,7 +94,9 @@ function args()
local args = ngx.req.get_uri_args()
for key, val in pairs(args) do
if type(val)=='table' then
data=table.concat(val, " ")
if val == false then
data=table.concat(val, " ")
end
else
data=val
end