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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +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 ! _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
