tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5 CoyoteResponse.java
Date Sat, 19 Jun 2004 18:52:42 GMT
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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message