markt       2004/06/19 11:52:42

  Modified:    catalina/src/share/org/apache/coyote/tomcat5
                        CoyoteResponse.java
  Log:
  Revert previous patch - it breaks things like sendRedirect("mailto.html")
  
  Revision  Changes    Path
  1.20      +1 -5      
jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5/CoyoteResponse.java
  
  Index: CoyoteResponse.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5/CoyoteResponse.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- CoyoteResponse.java       19 Jun 2004 18:14:22 -0000      1.19
  +++ CoyoteResponse.java       19 Jun 2004 18:52:42 -0000      1.20
  @@ -1421,10 +1421,6 @@
           if (location == null)
               return (location);
   
  -             if (location.toLowerCase().startsWith("mailto")) {
  -                     return (location);
  -             }
  -             
           boolean leadingSlash = location.startsWith("/");
   
           if (leadingSlash 
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to