[Mono-bugs] [Bug 73151][Maj] New - header parsing broken

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 1 Mar 2005 10:36:23 -0500 (EST)


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

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

--- shadow/73151	2005-03-01 10:36:22.000000000 -0500
+++ shadow/73151.tmp.10646	2005-03-01 10:36:22.000000000 -0500
@@ -0,0 +1,33 @@
+Bug#: 73151
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: System
+AssignedTo: gonzalo@ximian.com                            
+ReportedBy: james@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: header parsing broken
+
+WebHeaderCollection appears to have a problem dealing with headers that
+have commas in them.  Take, for example, the following Set-Cookie header:
+
+Set-Cookie: foo="bar" path="/" expires="Sat, 05-Mar-2005 23:00:00 GMT"
+
+When iterating over the values in that collection, you get two values for
+the key Set-Cookie:
+
+foo="bar" path="/" expires="Sat
+
+and
+
+05-Mar-2005 23:00:00 GMT"
+
+This totally breaks cookies, and probably other headers too.