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-catalina/catalina/src/share/org/apache/catalina/servlets InvokerServlet.java
Date Mon, 23 Sep 2002 08:19:18 GMT
remm        2002/09/23 01:19:18

  Modified:    catalina/src/share/org/apache/catalina/servlets
                        InvokerServlet.java
  Log:
  - Port patch.
  
  Revision  Changes    Path
  1.2       +11 -4     jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/servlets/InvokerServlet.java
  
  Index: InvokerServlet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/servlets/InvokerServlet.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- InvokerServlet.java	18 Jul 2002 16:47:40 -0000	1.1
  +++ InvokerServlet.java	23 Sep 2002 08:19:18 -0000	1.2
  @@ -320,6 +320,13 @@
           } else {
               pathInfo = "";
           }
  +
  +        if (servletClass.startsWith("org.apache.catalina")) {
  +            response.sendError(HttpServletResponse.SC_NOT_FOUND,
  +                               inRequestURI);
  +            return;
  +        }
  +
           if (debug >= 1)
               log("Processing servlet '" + servletClass +
                   "' with path info '" + pathInfo + "'");
  
  
  

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message