tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-4.1/catalina/src/share/org/apache/naming/resources ProxyDirContext.java
Date Sat, 20 Jan 2001 18:32:49 GMT
remm        01/01/20 10:32:49

  Modified:    catalina/src/share/org/apache/naming/resources
                        ProxyDirContext.java
  Log:
  - Replace \ with / in the query string to be consistent with the JNDI naming
    convention. Of course, URLs strings shouldn't use the Windows style
    path separator, but Jasper doesn't do the conversion.
  
  Revision  Changes    Path
  1.4       +5 -7      jakarta-tomcat-4.1/catalina/src/share/org/apache/naming/resources/ProxyDirContext.java
  
  Index: ProxyDirContext.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.1/catalina/src/share/org/apache/naming/resources/ProxyDirContext.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ProxyDirContext.java	2001/01/14 19:51:00	1.3
  +++ ProxyDirContext.java	2001/01/20 18:32:49	1.4
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.1/catalina/src/share/org/apache/naming/resources/ProxyDirContext.java,v
1.3 2001/01/14 19:51:00 remm Exp $
  - * $Revision: 1.3 $
  - * $Date: 2001/01/14 19:51:00 $
  + * $Header: /home/cvs/jakarta-tomcat-4.1/catalina/src/share/org/apache/naming/resources/ProxyDirContext.java,v
1.4 2001/01/20 18:32:49 remm Exp $
  + * $Revision: 1.4 $
  + * $Date: 2001/01/20 18:32:49 $
    *
    * ====================================================================
    *
  @@ -83,7 +83,7 @@
    * Proxy Directory Context implementation.
    *
    * @author Remy Maucherat
  - * @version $Revision: 1.3 $ $Date: 2001/01/14 19:51:00 $
  + * @version $Revision: 1.4 $ $Date: 2001/01/20 18:32:49 $
    */
   
   public class ProxyDirContext implements DirContext {
  @@ -1205,9 +1205,7 @@
        */
       protected String parseName(String name) 
           throws NamingException {
  -        
  -        return name;
  -        
  +        return name.replace('\\', '/');
       }
   
   
  
  
  

Mime
View raw message