tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lar...@locus.apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/context DefaultCMSetter.java
Date Wed, 20 Sep 2000 11:30:34 GMT
larryi      00/09/20 04:30:33

  Modified:    src/share/org/apache/tomcat/context Tag: tomcat_32
                        DefaultCMSetter.java
  Log:
  Modify to not reveal included resource.  Show the original request instead.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.45.2.2  +1 -1      jakarta-tomcat/src/share/org/apache/tomcat/context/DefaultCMSetter.java
  
  Index: DefaultCMSetter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/context/DefaultCMSetter.java,v
  retrieving revision 1.45.2.1
  retrieving revision 1.45.2.2
  diff -u -r1.45.2.1 -r1.45.2.2
  --- DefaultCMSetter.java	2000/08/14 23:55:36	1.45.2.1
  +++ DefaultCMSetter.java	2000/09/20 11:30:32	1.45.2.2
  @@ -156,7 +156,7 @@
   	String requestURI = (String)req.
   	    getAttribute("javax.servlet.include.request_uri");
   
  -	if (requestURI == null) {
  +	if (requestURI == null || res.isIncluded()) {
   	    requestURI = req.getRequestURI();
   	}
   
  
  
  

Mime
View raw message