Note that a maximum of 100 request arguments are parsed by default (including those with the same name) and that additional request arguments are silently discarded to guard against potential denial of service attacks.
However, the optional max_args function argument can be used to override this limit:
local args = ngx.req.get_uri_args(10)
This argument can be set to zero to remove the limit and to process all request arguments received:
local args = ngx.req.get_uri_args(0)
Removing the max_args cap is strongly discouraged.
Note that a maximum of 100 request arguments are parsed by default (including those with the same name) and that additional request arguments are silently discarded to guard against potential denial of service attacks.
However, the optional max_args function argument can be used to override this limit:
This argument can be set to zero to remove the limit and to process all request arguments received:
Removing the max_args cap is strongly discouraged.