[Mono-bugs] [Bug 76146][Maj] Changed - Uri class doesn't handle
"foo:///?bar"
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon Sep 19 19:40:49 EDT 2005
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 peter at novonyx.com.
http://bugzilla.ximian.com/show_bug.cgi?id=76146
--- shadow/76146 2005-09-19 18:40:28.000000000 -0400
+++ shadow/76146.tmp.12722 2005-09-19 19:40:48.000000000 -0400
@@ -58,6 +58,38 @@
at System.Uri..ctor(String uriString, Boolean dontEscape)
at System.Uri..ctor(String uriString)
at Test.Main()
------- Additional Comments From joeshaw at novell.com 2005-09-19 18:40 -------
sigh. god, that is so lame. What about the second test?
+
+------- Additional Comments From peter at novonyx.com 2005-09-19 19:40 -------
+MS fails on the second one, too:
+
+[c:\]cat t2.cs
+using System;
+
+class Test {
+ static void Main ()
+ {
+
+ Uri uri = new Uri ("foo:///bar");
+ Console.WriteLine (uri);
+ }
+}
+
+[c:\]csc t2.cs
+Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4
+for Microsoft (R) .NET Framework version 1.1.4322
+Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.
+
+
+[c:\]t2
+
+Unhandled Exception: System.UriFormatException: Invalid URI: The
+format of the U
+RI could not be determined.
+ at System.Uri.Parse()
+ at System.Uri..ctor(String uriString, Boolean dontEscape)
+ at System.Uri..ctor(String uriString)
+ at Test.Main()
+
More information about the mono-bugs
mailing list