Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(response-transformer): ensure body transformation is successful #9491

Closed
wants to merge 1 commit into from

Conversation

samugi
Copy link
Member

@samugi samugi commented Sep 30, 2022

Check that the body transformation is successful before passing it as an argument to set_raw_body()
If the body transformation fails, log a warning

This includes a test that ensures unexpected body formats are handled gracefully

FT-3436

check that the body transformation is successful before passing it to
set_raw_body()

This includes a test that ensures unexpected body formats are handled
gracefully
@chronolaw
Copy link
Contributor

chronolaw commented Oct 10, 2022

It seems to be duplicated with PR #9463, could you take a look at it?

@samugi
Copy link
Member Author

samugi commented Oct 10, 2022

Duplicate of #9463

@samugi samugi marked this as a duplicate of #9463 Oct 10, 2022
@samugi samugi closed this Oct 10, 2022
@bungle bungle deleted the fix/FT-3436 branch October 14, 2022 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Plugins | Response transformer broken on Kong 2.8.1.4
2 participants