-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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: Fix for using charset from response headers instead of default UTF-8 #20862
base: release
Are you sure you want to change the base?
Conversation
Welcome to the Appsmith community! Thank you for your first pull request and making this project better. 🤗 Please make sure that you raise a review request so your code change does not go unnoticed. |
@balachandarsv is attempting to deploy a commit to the Appsmith Team on Vercel. A member of the Team first needs to authorize it. |
This PR has not seen activitiy for a while. It will be closed in 7 days unless further activity is detected. |
This PR has been closed because of inactivity. |
@balachandarsv Thank you for opening this PR. Apologies that it slipped through the cracks. I've reopened the PR and we'll work to merge this in. In the meantime, can I request you to please open a Github issue for this? |
@@ -123,7 +124,11 @@ public Mono<ActionExecutionResult> triggerApiCall(WebClient client, HttpMethod h | |||
*/ | |||
if (contentType.includes(MediaType.APPLICATION_JSON)) { | |||
try { | |||
String jsonBody = new String(body, StandardCharsets.UTF_8); | |||
Charset charset = contentType.getCharset(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please add a JUnit TC for this in the file RestApiPluginTest.java
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. Will do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@balachandarsv please mention here once you are done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please check @sumitsum
Hi @balachandarsv , please mention if you are still working on this PR. |
Description
Fixes #
Type of change
How Has This Been Tested?
Checklist:
Dev activity