[Mono-bugs] [Bug 478489] System.IO.Path.GetDirectoryName does not throw exception for the value ":C/"

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Dec 21 20:31:29 EST 2010



--- Comment #8 from Jerome De Cuyper <jerome.decuyper at gmail.com> 2010-12-22 01:31:28 UTC ---
Thanks for your comments. 

I played a bit inside Visual Studio and it seems ':' is not only valid at
path[1]. For example, the following path doesn't throw any error: "C:\\::",
which is weird because no directory can be named after "::" in Windows AFAIK.

Also, "%:\\" doesn't throw any error either.

I'm trying to find the most relevant test cases in order to fix my patch (with
the other problems mentioned).

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