tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r821354 - in /tomcat/tc5.5.x/trunk: STATUS.txt connectors/util/java/org/apache/tomcat/util/http/mapper/Mapper.java container/webapps/docs/changelog.xml
Date Sat, 03 Oct 2009 16:24:41 GMT
Author: markt
Date: Sat Oct  3 16:24:40 2009
New Revision: 821354

URL: http://svn.apache.org/viewvc?rev=821354&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47225
Buffer length should be end-offset

Modified:
    tomcat/tc5.5.x/trunk/STATUS.txt
    tomcat/tc5.5.x/trunk/connectors/util/java/org/apache/tomcat/util/http/mapper/Mapper.java
    tomcat/tc5.5.x/trunk/container/webapps/docs/changelog.xml

Modified: tomcat/tc5.5.x/trunk/STATUS.txt
URL: http://svn.apache.org/viewvc/tomcat/tc5.5.x/trunk/STATUS.txt?rev=821354&r1=821353&r2=821354&view=diff
==============================================================================
--- tomcat/tc5.5.x/trunk/STATUS.txt (original)
+++ tomcat/tc5.5.x/trunk/STATUS.txt Sat Oct  3 16:24:40 2009
@@ -127,12 +127,6 @@
   +1: markt
   -1: 
 
-* Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47225
-  Buffer length should be end-offset
-  http://svn.apache.org/viewvc?rev=815972&view=rev
-  +1: markt, rjung, kkolinko
-  -1: 
-
 * Remove native test and examples classes from TC 5.5
   (connectors/jni/test, connectors/jni/examples).
   They have been recovered in native trunk and are also part of

Modified: tomcat/tc5.5.x/trunk/connectors/util/java/org/apache/tomcat/util/http/mapper/Mapper.java
URL: http://svn.apache.org/viewvc/tomcat/tc5.5.x/trunk/connectors/util/java/org/apache/tomcat/util/http/mapper/Mapper.java?rev=821354&r1=821353&r2=821354&view=diff
==============================================================================
--- tomcat/tc5.5.x/trunk/connectors/util/java/org/apache/tomcat/util/http/mapper/Mapper.java
(original)
+++ tomcat/tc5.5.x/trunk/connectors/util/java/org/apache/tomcat/util/http/mapper/Mapper.java
Sat Oct  3 16:24:40 2009
@@ -730,7 +730,7 @@
         if(mappingData.wrapper == null && noServletPath) {
             // The path is empty, redirect to "/"
             mappingData.redirectPath.setChars
-                (path.getBuffer(), pathOffset, pathEnd);
+                (path.getBuffer(), pathOffset, pathEnd-pathOffset);
             path.setEnd(pathEnd - 1);
             return;
         }

Modified: tomcat/tc5.5.x/trunk/container/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/tc5.5.x/trunk/container/webapps/docs/changelog.xml?rev=821354&r1=821353&r2=821354&view=diff
==============================================================================
--- tomcat/tc5.5.x/trunk/container/webapps/docs/changelog.xml (original)
+++ tomcat/tc5.5.x/trunk/container/webapps/docs/changelog.xml Sat Oct  3 16:24:40 2009
@@ -73,6 +73,10 @@
   </subsection>
   <subsection name="Coyote">
     <changelog>
+      <fix>
+        <bug>47225</bug>: Fix error in calculation of a buffer length in the
+        mapper. (markt)
+      </fix>
     </changelog>
   </subsection>
   <subsection name="Jasper">



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message