[Mono-bugs] [Bug 346432] Uri Parse method wrongly expects string to have at least two characters

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jan 23 17:27:38 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=346432

User robertj at gmx.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=346432#c3


Robert Jordan <robertj at gmx.net> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
             Status|RESOLVED                                        |REOPENED
         Resolution|INVALID                                         |




--- Comment #3 from Robert Jordan <robertj at gmx.net>  2008-01-23 15:27:38 MST ---
Oops, it's not. It fails for length == 1:

using System;

class T
{
        static void Main ()
        {
                new Uri ("", UriKind.Relative);
                new Uri ("a", UriKind.Relative);
        }
}


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list