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(android): UTF-8 encode form data value #7525

Conversation

malo-malo
Copy link
Contributor

@malo-malo malo-malo commented Jun 20, 2024

When using multipart/form-data in a POST request on Android, the values are not encoded, which is problematic when the values contain accents or emojis for example
This merge request proposes to encode values in UTF-8, similar to what is done when encoding other POST requests body

Fixes #7526
closes #7219
closes #6730

@malo-malo malo-malo marked this pull request as ready for review June 20, 2024 15:42
@malo-malo malo-malo changed the title UTF-8 encode form data value fix(android): UTF-8 encode form data value Jun 20, 2024
Co-authored-by: jcesarmobile <[email protected]>
@malo-malo malo-malo requested a review from jcesarmobile June 21, 2024 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: multipart/form-data values are not encoded on Android
4 participants