[Mono-bugs] [Bug 322328] Uri: UriFormatException on linux for files with colons

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Oct 23 16:33:55 EDT 2007


Robert Jordan <robertj at gmx.net> changed:

           What    |Removed                                         |Added
                 CC|                                                |robertj at gmx.net

--- Comment #2 from Robert Jordan <robertj at gmx.net>  2007-10-23 14:33:54 MST ---
IMO, this is not a bug, because the sample is passing arbitrary[1] strings to
the Uri constructor, but the ctor is supposed to throw on invalid URIs:

using System;

class Test
        static void Main ()
                Console.WriteLine (new Uri ("local://uri"));
                Console.WriteLine (new Uri ("local:uri"));
                Console.WriteLine (new Uri ("/local:uri")); // <-- booom!       

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