tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/mappers SimpleMapper1.java
Date Sat, 26 May 2001 17:54:50 GMT
costin      01/05/26 10:54:50

  Modified:    src/share/org/apache/tomcat/modules/mappers
                        SimpleMapper1.java
  Log:
  Don't decode - it'll be done in postReadRequest.
  
  Revision  Changes    Path
  1.3       +0 -11     jakarta-tomcat/src/share/org/apache/tomcat/modules/mappers/SimpleMapper1.java
  
  Index: SimpleMapper1.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/mappers/SimpleMapper1.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- SimpleMapper1.java	2001/02/20 03:16:52	1.2
  +++ SimpleMapper1.java	2001/05/26 17:54:50	1.3
  @@ -245,17 +245,6 @@
        */
       public int contextMap( Request req ) {
   	MessageBytes pathMB = req.requestURI();
  -	if( pathMB.isNull())
  -	    throw new RuntimeException("ASSERT: null path in request URI");
  -	// 	if( path.indexOf("?") >=0 )
  -	// 	    throw new RuntimeException("ASSERT: ? in requestURI");
  -
  -	if (pathMB.indexOf('%') >= 0 || pathMB.indexOf( '+' ) >= 0) {
  -	    // XXX rewrite URLDecode to avoid allocation
  -	    log( "Found encoded char - it should have been decoded earlier");
  -	    pathMB.unescapeURL();
  -	    // pathMB.setString( RequestUtil.URLDecode(pathMB.toString()) );
  -	}
   	try {
   	    //	    String host=null;
   	    MessageBytes hostMB=req.serverName();
  
  
  

Mime
View raw message