markt 2004/06/19 11:53:44
Modified: coyote/src/java/org/apache/coyote/tomcat4
CoyoteResponse.java
Log:
Revert previous patch - it breaks things like sendRedirect("mailto.html")
Revision Changes Path
1.37 +1 -5
jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4/CoyoteResponse.java
Index: CoyoteResponse.java
===================================================================
RCS file:
/home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4/CoyoteResponse.java,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- CoyoteResponse.java 19 Jun 2004 17:52:01 -0000 1.36
+++ CoyoteResponse.java 19 Jun 2004 18:53:44 -0000 1.37
@@ -1250,10 +1250,6 @@
if (location == null)
return (location);
- if (location.toLowerCase().startsWith("mailto")) {
- return (location);
- }
-
// Construct a new absolute URL if possible (cribbed from
// the DefaultErrorPage servlet)
URL url = null;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]