You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
set_by_lua_block$file_name {
local t = ngx.var.uri
local query = string.find(t, "?", 1)
if query ~= nil then
t = string.sub(t, 1, query-1)
endreturn t;
}
then the code gonginx.DumpBlock(conf.Block, gonginx.IndentStyle) will dump this result:
set_by_lua_block {
local t = ngx.var.uri local query = string.find(t, "?" , 1) if query ~= nil then t = string.sub(t, 1, query-1) end return t;
}
then the code
gonginx.DumpBlock(conf.Block, gonginx.IndentStyle)
will dump this result:it's worse when dump it several times @tufanbarisyildirim
Originally posted by @FeiYing9 in #20 (comment)
The text was updated successfully, but these errors were encountered: