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

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri May 16 18:05:54 EDT 2008


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

User ajorgensen at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=322328#c9





--- Comment #9 from Andrew Jorgensen <ajorgensen at novell.com>  2008-05-16 16:05:54 MST ---
Microsoft is somewhat merciful about this kind of thing.  They appear to have a
check to see if the badly formatted string is probably a path.  Probably their
check is limited to if the path starts with a drive letter and a colon.

We support handling strings which start with a / for the very same reason. 
Strings starting with a / throw an exception on Windows.  If the input string
starts with a / and contains a : somewhere in the string we should assume the
string is an absolute path.


-- 
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