apache-tomcat/apache-tomcat-7.0.9-server_xml-URIEncoding-utf8.patch

33 lines
1.3 KiB
Diff

--- conf/server.xml 2011-03-01 21:01:34.000000000 +0100
+++ conf/server.xml-gil 2011-03-01 21:07:52.000000000 +0100
@@ -69,12 +69,14 @@
-->
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
+ URIEncoding="UTF-8"
redirectPort="8443" />
<!-- A "Connector" using the shared thread pool-->
<!--
<Connector executor="tomcatThreadPool"
port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
+ URIEncoding="UTF-8"
redirectPort="8443" />
-->
<!-- Define a SSL HTTP/1.1 Connector on port 8443
@@ -83,12 +85,12 @@
described in the APR documentation -->
<!--
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
- maxThreads="150" scheme="https" secure="true"
+ maxThreads="150" scheme="https" secure="true" URIEncoding="UTF-8"
clientAuth="false" sslProtocol="TLS" />
-->
<!-- Define an AJP 1.3 Connector on port 8009 -->
- <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
+ <Connector port="8009" protocol="AJP/1.3" URIEncoding="UTF-8" redirectPort="8443" />
<!-- An Engine represents the entry point (within Catalina) that processes