[Mono-bugs] [Bug 62890][Min] New - System.Net.Cookie default constructor fails to set Name property as empty

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 11 Aug 2004 16:57:41 -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 mauricioc@gmail.com.

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

--- shadow/62890	2004-08-11 16:57:41.000000000 -0400
+++ shadow/62890.tmp.26313	2004-08-11 16:57:41.000000000 -0400
@@ -0,0 +1,25 @@
+Bug#: 62890
+Product: Mono: Class Libraries
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: System
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: mauricioc@gmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: System.Net.Cookie default constructor fails to set Name property as empty
+
+System.Net.Cookie default constructor tries to assign an empty value to a
+property (Name) that does not accept it. It should bypass the check for
+emptiness when assigning a value to the property at the constructor.
+
+How to reproduce: Just try to use Cookie's default constructor, as this:
+
+Cookie c = new Cookie();