[Mono-bugs] [Bug 65864][Maj] Changed - Cookies incorrectly include path and domain information in requests

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 13 Sep 2004 15:22:43 -0400 (EDT)


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 gonzalo@ximian.com.

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

--- shadow/65864	2004-09-13 13:04:11.000000000 -0400
+++ shadow/65864.tmp.6045	2004-09-13 15:22:43.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 65864
 Product: Mono: Class Libraries
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: 
-Status: NEW   
+Status: NEEDINFO   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Major
 Component: System
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: lewing@ximian.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -17,6 +17,20 @@
 Summary: Cookies incorrectly include path and domain information in requests
 
 when making an HttpWebRequest with cookies that include path and domain
 information the path and domain are included in the request. It is pretty
 clear from the spec that this should not be the case and the extra
 information breaks the cookie parsing on the server side.
+
+------- Additional Comments From gonzalo@ximian.com  2004-09-13 15:22 -------
+In RFC 2965, section 3.3.4 Sending Cookies to the Origin Server, they say:
+
+cookie          =  "Cookie:" cookie-version 1*((";" | ",") cookie-value)
+cookie-value    =  NAME "=" VALUE [";" path] [";" domain] [";" port]
+cookie-version  =  "$Version" "=" value
+NAME            =  attr
+VALUE           =  value
+path            =  "$Path" "=" value
+domain          =  "$Domain" "=" value
+port            =  "$Port" [ "=" <"> value <"> ]
+
+What spec are you referring to?