File apache-tomcat-parameter-processing-regression.patch of Package tomcat6.import5765

Index: apache-tomcat-6.0.32-src/java/org/apache/tomcat/util/http/Parameters.java
===================================================================
--- apache-tomcat-6.0.32-src.orig/java/org/apache/tomcat/util/http/Parameters.java	2012-02-06 13:39:59.000000000 +0100
+++ apache-tomcat-6.0.32-src/java/org/apache/tomcat/util/http/Parameters.java	2012-02-06 13:43:38.481431172 +0100
@@ -278,6 +278,7 @@
                         pos++;
                         break;
                     case '%':
+                    case '+':
                         // Decoding required
                         if (parsingName) {
                             decodeName = true;
Index: apache-tomcat-6.0.32-src/webapps/docs/changelog.xml
===================================================================
--- apache-tomcat-6.0.32-src.orig/webapps/docs/changelog.xml	2012-02-06 13:39:59.000000000 +0100
+++ apache-tomcat-6.0.32-src/webapps/docs/changelog.xml	2012-02-06 13:44:07.819421412 +0100
@@ -46,6 +46,10 @@
 <section name="Tomcat 6.0.32 (jfclere)">
   <subsection name="Catalina">
     <changelog>
+       <fix>
+        Fix regression in decoding of parameters that contain spaces.
+        Patch by Willem Fibbe. (kkolinko)
+      </fix>
       <update>
         <bug>48822</bug>: Include context name in reload and stop log statements.
         Based on the patch provided by Marc Guillemot. (kkolinko)
openSUSE Build Service is sponsored by