[Mono-bugs] [Bug 47573][Wis] Changed - Bugs in System.Uri

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 13 Aug 2003 09:07:25 -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 duncan@ximian.com.


--- shadow/47573	2003-08-12 21:40:20.000000000 -0400
+++ shadow/47573.tmp.15533	2003-08-13 09:07:25.000000000 -0400
@@ -40,6 +40,22 @@
 Okay, turns out case #2 isn't a bug, it was just a typo:
 2) /g  =>file://x, /g
 We actually correctly yield the result 'http://a/g'.
+------- Additional Comments From duncan@ximian.com  2003-08-13 09:07 -------
+Just found another case that's broken.
+ Uri u = new Uri ("mailto:test@foo.com");
+ Console.WriteLine (u);
+Right now we get 'file://mailto:test@foo.com/', instead we want just
+Fixing this case should also fix the 'g:h' case. Right now, with my
+uncommited fixes, we get 'g://h/'.
+We need to add a stricter test to find out the host part of the URI
+and be less aggressive with appending the "//" delimiter.