[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
Tue Jan 22 09:44:38 EST 2008


User bjansen at etro.vub.ac.be added comment

Bart Jansen <bjansen at etro.vub.ac.be> changed:

           What    |Removed                                         |Added
                 CC|                                                |bjansen at etro.vub.ac.be
            Summary|empty URI error                                 |Uri Parse method wrongly expects string to have
                   |                                                |at least two characters

--- Comment #1 from Bart Jansen <bjansen at etro.vub.ac.be>  2008-01-22 07:44:38 MST ---
still present in 1.2.6 both in xp and kubuntu

what's the rationale for expecting an uri to have at least two character?

Uri.cs line 1277:

if (len <= 1) 
   throw new UriFormatException ();

causes this to happen. 


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