Skip to content

Commit

Permalink
buf:put
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Jan 30, 2024
1 parent f36b79a commit 59daedf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kong/router/fields.lua
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ local function visit_for_cache_key(field, value, str_buf)
value = tb_concat(value, ",")
end

str_buf:putf("%s=%s|", field, value or "")
str_buf:put(value or "", "|")

return true
end
Expand Down

0 comments on commit 59daedf

Please sign in to comment.