Skip to content

Commit

Permalink
Update kong/plugins/request-transformer/access.lua
Browse files Browse the repository at this point in the history
Co-authored-by: Zhefeng C. <38037704+catbro666@users.noreply.github.com>
  • Loading branch information
StarlightIbuki and catbro666 authored Aug 14, 2024
1 parent c407013 commit 0733c1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kong/plugins/request-transformer/access.lua
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ local function transform_headers(conf, template_env)
if lower_old_name == lower_new_name then
need_remove = rename(headers, old_name, new_name)
else
need_remove = rename(headers, lower_old_name, lower_old_name)
need_remove = rename(headers, lower_old_name, lower_new_name)
end

if need_remove then
Expand Down

0 comments on commit 0733c1a

Please sign in to comment.