Skip to content

Commit 3b12567

Browse files
committed
fix args false
1 parent 686219a commit 3b12567

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

init.lua

+3-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@ function args()
9494
local args = ngx.req.get_uri_args()
9595
for key, val in pairs(args) do
9696
if type(val)=='table' then
97-
data=table.concat(val, " ")
97+
if val == false then
98+
data=table.concat(val, " ")
99+
end
98100
else
99101
data=val
100102
end

0 commit comments

Comments
 (0)