fix: Fix for using charset from response headers instead of default UTF-8#20862
fix: Fix for using charset from response headers instead of default UTF-8#20862balachandarsv wants to merge 4 commits intoappsmithorg:releasefrom
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? |
| 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.
Can you please add a JUnit TC for this in the file RestApiPluginTest.java ?
There was a problem hiding this comment.
@balachandarsv please mention here once you are done.
|
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