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/generators StaticInterceptor.java
Date Sat, 26 May 2001 17:54:24 GMT
costin      01/05/26 10:54:24

  Modified:    src/share/org/apache/tomcat/modules/generators
                        StaticInterceptor.java
  Log:
  Changed the encoder name. We don't use URLEncoder to avoid conflict with
  the jdk class.
  
  Revision  Changes    Path
  1.13      +2 -2      jakarta-tomcat/src/share/org/apache/tomcat/modules/generators/StaticInterceptor.java
  
  Index: StaticInterceptor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/generators/StaticInterceptor.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- StaticInterceptor.java	2001/05/21 04:05:31	1.12
  +++ StaticInterceptor.java	2001/05/26 17:54:23	1.13
  @@ -458,9 +458,9 @@
   	// 	    req.setNote( sbNote, buf );
   	// 	}
   
  -	Encoder utfEncoder=(Encoder)req.getNote( sbNote );
  +	UEncoder utfEncoder=(UEncoder)req.getNote( sbNote );
   	if( utfEncoder==null ) {
  -	    utfEncoder=new Encoder();
  +	    utfEncoder=new UEncoder();
   	    utfEncoder.addSafeCharacter( '/' );
   	}
   
  
  
  

Mime
View raw message