[Mono-bugs] [Bug 80964][Wis] New - file:C:\dir\file.txt throws UriFormatException

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Feb 26 15:27:37 EST 2007

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by jamie.cansdale at testdriven.net.


--- shadow/80964	2007-02-26 15:27:37.000000000 -0500
+++ shadow/80964.tmp.11939	2007-02-26 15:27:37.000000000 -0500
@@ -0,0 +1,34 @@
+Bug#: 80964
+Product: Mono: Class Libraries
+Version: 1.2
+OS Details: 
+Status: NEW   
+Priority: Wishlist
+Component: System
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: jamie.cansdale at testdriven.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: file:C:\dir\file.txt throws UriFormatException
+Steps to reproduce the problem:
+1. Console.WriteLine(new Url(@"file:C:\dir\local.txt"));
+Actual Results:
+System.UriFormatException: Invalid URI: Invalid port number
+Expected Results:
+(this is what .NET outputs)
+How often does this happen? 
+Additional Information:
+I stumbled on this one when getting MbUnit to work on Mono. There's now a
+workaround in MbUnit to avoid this. I though't I'd report it anyway.

More information about the mono-bugs mailing list