Skip to content

Set uri encoding to UTF-8 by default for Tomcat #542

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

Conversation

snicoll
Copy link
Member

@snicoll snicoll commented Mar 21, 2014

This commit introduces an extra server.tomcat.uri-encoding property used to configure the URI encoding for the embedded tomcat container.

This defaults to UTF-8 instead of what tomcat uses by default (i.e. ISO-8859-1). Note that Jetty uses 'UTF-8' by default but can only be customized through the use of a system property so this new setting only applies for Tomcat.

Fixes gh-540

This commit introduces an extra 'server.tomcat.uri-encoding'
property used to configure the URI encoding for the embedded
tomcat container.

This defaults to 'UTF-8' instead of what tomcat uses by
default (i.e. 'ISO-8859-1'). Note that Jetty uses 'UTF-8' by default
but can only be customized through the use of a system property so
this new setting only applies for Tomcat.

Fixes spring-projectsgh-540
@dsyer dsyer added this to the 1.0.0.RELEASE milestone Mar 24, 2014
@philwebb philwebb modified the milestone: 1.0.0.RELEASE Mar 24, 2014
philwebb pushed a commit that referenced this pull request Mar 25, 2014
* gh-540:
  Support Tomcat uri encoding (with UTF-8 default)
@philwebb
Copy link
Member

Merged. Thanks!

@philwebb philwebb closed this Mar 25, 2014
@snicoll snicoll deleted the gh-540 branch March 27, 2014 12:24
gigfork pushed a commit to boostrack/spring-boot that referenced this pull request Apr 21, 2014
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.

Set URI encoding for embedded containers to UTF-8
3 participants