[Mono-dev] [PATCH] Minor Convert.FromBase64String fixes

Gert Driesen gert.driesen at telenet.be
Fri Aug 19 11:00:11 EDT 2005


Hi,

The attached patch fixes the following issues with Convert.FromBase64String
(and adds unit tests):

- A zero-length byte array must be returned if a zero-length string is
passed in
- On the 2.0 profile, a zero-length byte array must be returned if
whitespace-only 
string is passed in.

Let me know if its ok to commit ?

Gert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: corlib.patch
Type: application/octet-stream
Size: 3762 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050819/295b2f58/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mono.patch
Type: application/octet-stream
Size: 2101 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050819/295b2f58/attachment-0001.obj 


More information about the Mono-devel-list mailing list