tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BugRat Mail System <tomcat-b...@cortexity.com>
Subject BugRat Report #105 has been filed.
Date Tue, 12 Sep 2000 09:01:05 GMT
Bug report #105 has just been filed.

You can view the report at the following URL:

   <http://znutar.cortexity.com:8888/BugRatViewer/ShowReport/105>

REPORT #105 Details.

Project: Catalina
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: high
Severity: serious
Confidence: public
Environment: 
   Release: current CVS toplevel source
   JVM Release: 1.2
   Operating System: Solaris
   OS Release: 2.7
   Platform: sparc

Synopsis: 
session handling problems with empty "" context path

Description:
session is not correctly maintained by netscape browser to tomcat connection when the context
path is empty, this is due to the fact that the session cookie does not contain a path in
this case:

PATCH for org.apache.tomcat.connector.HttpResponseBase.java:

*** HttpResponseBase.java.orig	Tue Sep 12 10:52:40 2000
--- HttpResponseBase.java	Tue Sep 12 10:53:17 2000
***************
*** 483,488 ****
--- 483,489 ----
  	    String contextPath = context.getPath();
  	    if ((contextPath != null) && (contextPath.length() > 0))
  		cookie.setPath(contextPath);
+ 	    else cookie.setPath("/");
  	    if (hreq.isSecure())
  		cookie.setSecure(true);
  	    addCookie(cookie);


Mime
View raw message