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 [EMAIL PROTECTED]

http://bugzilla.ximian.com/show_bug.cgi?id=76643

--- shadow/76643        2005-11-07 15:35:36.000000000 -0500
+++ shadow/76643.tmp.25224      2005-11-07 15:35:36.000000000 -0500
@@ -0,0 +1,34 @@
+Bug#: 76643
+Product: Mono: Class Libraries
+Version: 1.0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: System
+AssignedTo: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: System.Uri.ToString is broken
+
+Uri.ToString doesn't re-escape characters that need to be hex-escaped,
+making the output sometimes semantically different from the string
+that was passed into the constructor. Eg:
+
+       using System;
+       
+       public class UriTest {
+               public static void Main ()
+               {
+                       Uri uri = new Uri ("file:///foo%25bar");
+                       Console.WriteLine (uri.ToString ());
+               }
+       }
+
+mono outputs "file:///foo%bar" (meaning "/fooºr"). .NET correctly
+outputs "file:///foo%25bar"
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to