You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by BugRat Mail System <to...@cortexity.com> on 2000/09/12 11:01:05 UTC
BugRat Report #105 has been filed.
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);