Skip to content

UTF-8 as default for "MULTIPART_FORM_DATA" conversion #1072

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

Closed
wants to merge 1 commit into from
Closed

Conversation

RG9
Copy link

@RG9 RG9 commented Jun 3, 2016

FormHttpMessageConverter should use UTF-8 on default for converting "MULTIPART_FORM_DATA" to handle Eastern Europe characters. It could be overriden, however in default causes unnecessary bug.

@bclozel
Copy link
Member

bclozel commented Jun 3, 2016

Could you open an issue on jira.spring.io and explain in more details why this should be done? Encoding matters are often complex, so we need to make sure the default should be changed there instead of keeping the Servlet specification default encoding.

Note, this seems to be somewhat related to SPR-7789, SPR-9096, and SPR-11035.

Also, have you signed the CLA?

@RG9
Copy link
Author

RG9 commented Jun 7, 2016

Thank you for help.

Here is an issue SPR-14338.

@benelog
Copy link
Contributor

benelog commented Jun 8, 2016

It is fixed by cc7781e

@RG9
Copy link
Author

RG9 commented Jun 8, 2016

Yes, thank you, now I can only write some unit tests :)

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.

3 participants