[Mono-bugs] [Bug 77179][Nor] New - [PATCH ] HttpWebResponse.cs,
SetCookie.
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sat Jan 7 14:34:34 EST 2006
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 colin at univ-metz.fr.
http://bugzilla.ximian.com/show_bug.cgi?id=77179
--- shadow/77179 2006-01-07 14:34:33.000000000 -0500
+++ shadow/77179.tmp.29010 2006-01-07 14:34:33.000000000 -0500
@@ -0,0 +1,39 @@
+Bug#: 77179
+Product: Mono: Class Libraries
+Version: 1.1
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: System
+AssignedTo: gonzalo at ximian.com
+ReportedBy: colin at univ-metz.fr
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: [PATCH ] HttpWebResponse.cs, SetCookie.
+
+It needs to check before creating a cookie if name value is filled.(ex
+:malformed cookie with only '=' value)
+
+Index: System.Net/HttpWebResponse.cs
+===================================================================
+--- System.Net/HttpWebResponse.cs (revision 55184)
++++ System.Net/HttpWebResponse.cs (working copy)
+@@ -347,6 +347,8 @@
+ CookieParser parser = new CookieParser (header);
+
+ while (parser.GetNextNameValue (out name, out val)) {
++ if ((name == null || name == String.Empty)
+&& cookie == null)
++ return;
+ if (name == null || name == "")
+ continue;
+
+
+
+Additional Information:
+Happy new year !
More information about the mono-bugs
mailing list