[Mono-bugs] [Bug 42559][Cos] New - System.Uri.ToString() returns different results on Mono versus Rotor
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Wed, 7 May 2003 21:41:07 -0400 (EDT)
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 mathpup@mylinuxisp.com.
http://bugzilla.ximian.com/show_bug.cgi?id=42559
--- shadow/42559 Wed May 7 21:41:07 2003
+++ shadow/42559.tmp.3436 Wed May 7 21:41:07 2003
@@ -0,0 +1,58 @@
+Bug#: 42559
+Product: Mono/Class Libraries
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Cosmetic
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: mathpup@mylinuxisp.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: System.Uri.ToString() returns different results on Mono versus Rotor
+
+Description of Problem:
+
+The code
+
+using System;
+public Class Testing
+{
+ public static void Main()
+ {
+ string somefile = @"\\server\share\path\to\file.txt";
+ Uri newURI = new Uri( somefile );
+ Console.WriteLine( newURI );
+ }
+}
+
+produces
+ 'file://server/share/path/to/file.txt' on mono, but
+ 'file:////server/share/path/to/file.txt' on Rotor.
+
+Steps to reproduce the problem:
+1. mcs path.cs
+2. mono path.exe
+
+
+Actual Results:
+
+file://server/share/path/to/file.txt
+
+
+Expected Results:
+
+file:////server/share/path/to/file.txt
+
+
+How often does this happen?
+
+Always
+
+
+Additional Information: