1 Setup URIEncoding="UTF-8" to use unversal URI encoding.
3 http://wiki.hudson-ci.org/display/HUDSON/Tomcat
5 Some versions of Tomcat (such as 5.0.28) uses iso-8859-1 to decode URLs, which
6 is in a clear violation of the relevant RFCs. To fix this problem, add the
7 following URIEncoding attribute to the connector definition in
8 $TOMCAT_HOME/conf/server.xml.
10 --- a/conf/server.xml.orig 2010-06-13 16:55:18.000000000 +0200
11 +++ b/conf/server.xml 2010-07-20 13:51:33.000000000 +0200
14 <Connector port="8080" protocol="HTTP/1.1"
15 connectionTimeout="20000"
17 redirectPort="8443" />
18 <!-- A "Connector" using the shared thread pool-->
20 <Connector executor="tomcatThreadPool"
21 port="8080" protocol="HTTP/1.1"
22 connectionTimeout="20000"
24 redirectPort="8443" />
26 <!-- Define a SSL HTTP/1.1 Connector on port 8443
28 described in the APR documentation -->
30 <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
31 - maxThreads="150" scheme="https" secure="true"
32 + maxThreads="150" scheme="https" secure="true" URIEncoding="UTF-8"
33 clientAuth="false" sslProtocol="TLS" />
36 <!-- Define an AJP 1.3 Connector on port 8009 -->
37 - <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
38 + <Connector port="8009" protocol="AJP/1.3" URIEncoding="UTF-8" redirectPort="8443" />
41 <!-- An Engine represents the entry point (within Catalina) that processes