[Mono-bugs] [Bug 76014][Maj] New - [PATCH] Fix for multi-path cookies

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Sep 7 18:31:10 EDT 2005


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by bugzilla at patearl.net.

http://bugzilla.ximian.com/show_bug.cgi?id=76014

--- shadow/76014	2005-09-07 18:31:10.000000000 -0400
+++ shadow/76014.tmp.31663	2005-09-07 18:31:10.000000000 -0400
@@ -0,0 +1,36 @@
+Bug#: 76014
+Product: Mono: Class Libraries
+Version: 1.1
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: Sys.Web
+AssignedTo: toshok at ximian.com                            
+ReportedBy: bugzilla at patearl.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [PATCH] Fix for multi-path cookies
+
+Here is a portion of a reponse sent by my browser:
+
+Cookie: ASPSESSION=3FD9A8DBEC0851B6F03600BCF4726F;
+ASPSESSION=B9C9CD2E5DD451530CCBC1F27C8426
+
+Note that the first session ID is for a path of /foo/bar and the second
+session ID is for a path of /.
+
+The original behaviour of the cookie parser was to overwrite the first
+value once the second one was encountered.  The attached patch gives higher
+precedence to the first cookie value, allowing the directory-specific
+cookie to appear.
+
+Modifying this code fixes problems with ASP applications contained within
+other ASP application directories.
+
+Note that bug 75956 deals with the other half of this problem, ensuring
+that the correct paths get set on the cookies.


More information about the mono-bugs mailing list