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( '/' );
        }
   
  
  
  

Reply via email to