Skip to content

Commit

Permalink
Update apisix/plugins/body-transformer.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
Revolyssup authored Nov 25, 2024
1 parent 8a0add3 commit e374a62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apisix/plugins/body-transformer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ local function set_input_format(conf, typ, ct, method)
conf[typ].input_format = "json"
elseif str_find(ct:lower(), "application/x-www-form-urlencoded", nil, true) then
conf[typ].input_format = "encoded"
elseif str_find(ct:lower(), "multipart/", nil) then
elseif str_find(ct:lower(), "multipart/", nil, true) then
conf[typ].input_format = "multipart"
end
end
Expand Down

0 comments on commit e374a62

Please sign in to comment.