ngx_lua location capture issue

Nginx User nginx at nginxuser.net
Fri Oct 21 14:27:01 UTC 2011


On 21 October 2011 17:00, Nginx User <nginx at nginxuser.net> wrote:
> I have since moved on to ....
>
>        local args = ngx.req.get_uri_args()
>        for key, val in pairs(args) do
>                if type(val) == "table" then
>                        my_arg = table.concat(val, ", ")
>                else
>                        my_arg =  val
>                end
>                if my_arg then

-                if my_arg then
+                if my_arg and type( my_arg ) ~= "boolean" then



More information about the nginx mailing list