summaryrefslogtreecommitdiff
path: root/www/jakarta-tomcat/patches/patch-ad
blob: 64a28db88a6533efbb980031d56ff618054933f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
$NetBSD: patch-ad,v 1.2 2002/05/20 19:06:03 cjep Exp $
--- src/share/org/apache/tomcat/facade/RequestDispatcherImpl.java.orig	Thu Dec 28 14:13:50 2000
+++ src/share/org/apache/tomcat/facade/RequestDispatcherImpl.java	Sat Aug 11 15:39:18 2001
@@ -139,6 +139,7 @@
     public void forward(ServletRequest request, ServletResponse response)
 	throws ServletException, IOException
     {
+    /*
 	if( System.getSecurityManager() != null ) {
 	    final ServletRequest req = request;
 	    final ServletResponse res = response;
@@ -159,8 +160,9 @@
 		throw (IOException)e;
 	    }
 	} else {
+	*/
 	    doForward(request,response);
-	}
+	/*}*/
     }
 
     private void doForward(ServletRequest request, ServletResponse response)
@@ -247,6 +249,7 @@
     public void include(ServletRequest request, ServletResponse response)
 	throws ServletException, IOException
     {
+	/*
         if( System.getSecurityManager() != null ) {
             final ServletRequest req = request;
             final ServletResponse res = response;
@@ -267,8 +270,9 @@
                 throw (IOException)e;
             }
         } else {
+	*/
 	    doInclude(request,response);
-	}
+	/*}*/
     }
 
     private void doInclude(ServletRequest request, ServletResponse response)