[Mono-bugs] [Bug 76074][Wis] Changed - Convert.FromBase64String throws exception on empty string

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Sep 12 18:43:47 EDT 2005

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 gert.driesen at pandora.be.


--- shadow/76074	2005-09-12 17:41:57.000000000 -0400
+++ shadow/76074.tmp.28604	2005-09-12 18:43:47.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 76074
 Product: Mono: Class Libraries
 Version: 1.1
+OS: unknown
 OS Details: 
 Status: NEW   
+Severity: Unknown
 Priority: Wishlist
 Component: System
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: NLassonde at Versora.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -20,6 +20,10 @@
 Convert.FromBase64String with an empty string will also return an empty
 string. However, the documentation says that a FormatException will be
 thrown if the length is less than 4, which last I checked, 0 is less than
 4. Mono follows the documentation and throws an exception on empty strings.
 While holding to the documentation is good, so is code portability with
 MS's .Net.
+------- Additional Comments From gert.driesen at pandora.be  2005-09-12 18:43 -------
+As far as I know, Convert.FromBase64String only accepts an empty 
+string in .NET 2.0 and the Mono 2.0 profile behaviour matches that.

More information about the mono-bugs mailing list