]> git.pld-linux.org Git - packages/tomcat.git/blob - server.xml-URIEncoding-utf8.patch
Up to 7.0.109; 7.x series is EOL now
[packages/tomcat.git] / server.xml-URIEncoding-utf8.patch
1 diff -urNp -x '*.orig' apache-tomcat-7.0.107-src.org/conf/server.xml apache-tomcat-7.0.107-src/conf/server.xml
2 --- apache-tomcat-7.0.107-src.org/conf/server.xml       2020-11-18 13:24:51.000000000 +0100
3 +++ apache-tomcat-7.0.107-src/conf/server.xml   2021-11-24 10:18:43.615492909 +0100
4 @@ -69,13 +69,15 @@
5           Define a non-SSL HTTP/1.1 Connector on port 8080
6      -->
7      <Connector port="8080" protocol="HTTP/1.1"
8 -               connectionTimeout="20000"
9 +              connectionTimeout="20000"
10 +              URIEncoding="UTF-8"
11                 redirectPort="8443" />
12      <!-- A "Connector" using the shared thread pool-->
13      <!--
14      <Connector executor="tomcatThreadPool"
15                 port="8080" protocol="HTTP/1.1"
16 -               connectionTimeout="20000"
17 +              connectionTimeout="20000"
18 +              URIEncoding="UTF-8"
19                 redirectPort="8443" />
20      -->
21      <!-- Define an SSL HTTP/1.1 Connector on port 8443
22 @@ -85,7 +87,7 @@
23           documentation -->
24      <!--
25      <Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol"
26 -               maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
27 +               maxThreads="150" SSLEnabled="true" scheme="https" secure="true" URIEncoding="UTF-8"
28                 clientAuth="false" sslProtocol="TLS" />
29      -->
30  
31 @@ -94,6 +96,7 @@
32      <Connector protocol="AJP/1.3"
33                 address="::1"
34                 port="8009"
35 +               URIEncoding="UTF-8"
36                 redirectPort="8443" />
37      -->
38  
This page took 0.089365 seconds and 3 git commands to generate.