encode_args order

14 views
Skip to first unread message

Eloy Coto Pereiro

unread,
May 27, 2021, 3:41:55 AMMay 27
to openre...@googlegroups.com
Hi,

Is there no way that `ngx.encode_args` function produces the same output, no? I
tried, but the function uses the `lua_next`[0] call, so no __pairs method will
be used at all, no?

Is there any way to produce consistent output? I know that does not matter for
an HTTP request, but we're using it for something else.

Regards

[0] https://github.com/openresty/lua-nginx-module/blob/f72792234c56e10b9ef565015df034ab55a6cfc1/src/ngx_http_lua_util.c#L2493

Reply all
Reply to author
Forward
0 new messages