From 1e19945f777f20b845c799fd23da7ee9044c93bc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 20 Jul 2010 10:18:15 +0000 Subject: [PATCH] - utf8 URIEncoding; rel 2 Changed files: server.xml-URIEncoding-utf8.patch -> 1.1 tomcat.spec -> 1.175 --- server.xml-URIEncoding-utf8.patch | 41 +++++++++++++++++++++++++++++++ tomcat.spec | 26 +++++++++++--------- 2 files changed, 55 insertions(+), 12 deletions(-) create mode 100644 server.xml-URIEncoding-utf8.patch diff --git a/server.xml-URIEncoding-utf8.patch b/server.xml-URIEncoding-utf8.patch new file mode 100644 index 0000000..60ca821 --- /dev/null +++ b/server.xml-URIEncoding-utf8.patch @@ -0,0 +1,41 @@ +Setup URIEncoding="UTF-8" to use unversal URI encoding. + +http://wiki.hudson-ci.org/display/HUDSON/Tomcat + +Some versions of Tomcat (such as 5.0.28) uses iso-8859-1 to decode URLs, which +is in a clear violation of the relevant RFCs. To fix this problem, add the +following URIEncoding attribute to the connector definition in +$TOMCAT_HOME/conf/server.xml. + +--- apache-tomcat-6.0.28-src/conf/server.xml~ 2010-06-29 17:33:40.000000000 +0300 ++++ apache-tomcat-6.0.28-src/conf/server.xml 2010-07-20 09:12:35.045149469 +0300 +@@ -68,12 +68,14 @@ + --> + + + + + + + +- ++ + + +