luehe       2004/03/18 15:51:48

  Modified:    catalina/src/share/org/apache/coyote/tomcat5
                        CoyoteAdapter.java
  Log:
  Include session cookies in HttpServletRequest.getCookies().
  
  Excluding them has caused a regression, and seems to be in conflict
  with the javadocs:
  
       * Returns an array containing all of the <code>Cookie</code>
       * objects the client sent with this request.
  
  *All* includes session cookies as well, even though including session
  cookies may not be very useful and is inconsistent with how a session
  id path parameter is not exposed to a webapp. Will need to be
  addressed by Servlet.next.
  
  Revision  Changes    Path
  1.20      +1 -2      
jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5/CoyoteAdapter.java
  
  Index: CoyoteAdapter.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5/CoyoteAdapter.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- CoyoteAdapter.java        10 Mar 2004 00:00:23 -0000      1.19
  +++ CoyoteAdapter.java        18 Mar 2004 23:51:47 -0000      1.20
  @@ -379,7 +379,6 @@
                               (scookie.getValue().toString());
                       }
                   }
  -                continue;
               }
               try {
                   Cookie cookie = new Cookie(scookie.getName().toString(),
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to