You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by na...@locus.apache.org on 2000/10/06 12:05:49 UTC

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/request SimpleMapper1.java

nacho       00/10/06 03:05:48

  Modified:    src/share/org/apache/tomcat/request SimpleMapper1.java
  Log:
  Correcting a Cut&Paste mistake. nothing harmful but not correct.
  
  Revision  Changes    Path
  1.23      +1 -1      jakarta-tomcat/src/share/org/apache/tomcat/request/SimpleMapper1.java
  
  Index: SimpleMapper1.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/request/SimpleMapper1.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- SimpleMapper1.java	2000/09/29 07:01:21	1.22
  +++ SimpleMapper1.java	2000/10/06 10:05:47	1.23
  @@ -251,7 +251,7 @@
   	if( path.indexOf("?") >=0 )
   	    throw new RuntimeException("ASSERT: ? in requestURI");
   
  -	if ((path.indexOf('%') >= 0) || (path.indexOf('+') >= 0)) {
  +	if (path.indexOf('%') >= 0) {
   		// XXX rewrite URLDecode to avoid allocation
   		path = RequestUtil.URLDecode(path);
   	}