Support Tomcat uri encoding (with UTF-8 default)
Introduce an extra `server.tomcat.uri-encoding` property used to configure the URI encoding for the embedded tomcat container. Defaults to `UTF-8` instead of the usual tomcat default of `ISO-8859-1`. Fixes gh-540
This commit is contained in:
committed by
Phillip Webb
parent
75548c1205
commit
87321edf36
@@ -61,6 +61,7 @@ server.tomcat.remote-ip-header=x-forwarded-for
|
||||
server.tomcat.basedir=/tmp # base dir (usually not needed, defaults to tmp)
|
||||
server.tomcat.background-processor-delay=30; # in seconds
|
||||
server.tomcat.max-threads = 0 # number of threads in protocol handler
|
||||
server.tomcat.uri-encoding = UTF-8 # character encoding to use for URL decoding
|
||||
|
||||
# SPRING MVC ({sc-spring-boot-autoconfigure}/web/HttpMapperProperties.{sc-ext}[HttpMapperProperties])
|
||||
http.mappers.json-pretty-print=false # pretty print JSON
|
||||
|
||||
Reference in New Issue
Block a user