[Mono-bugs] [Bug 51313][Nor] Changed - Uri.LocalPath returns invalid path for relative paths
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 15 Dec 2003 10:51:34 -0500 (EST)
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 ginga@kit.hi-ho.ne.jp.
http://bugzilla.ximian.com/show_bug.cgi?id=51313
--- shadow/51313 2003-11-27 11:14:44.000000000 -0500
+++ shadow/51313.tmp.25536 2003-12-15 10:51:33.000000000 -0500
@@ -1,13 +1,13 @@
Bug#: 51313
Product: Mono/Class Libraries
Version: unspecified
OS: unknown
OS Details:
-Status: NEW
-Resolution:
+Status: RESOLVED
+Resolution: NOTABUG
Severity: Unknown
Priority: Normal
Component: CORLIB
AssignedTo: rkumar@novell.com
ReportedBy: gert.driesen@pandora.be
QAContact: mono-bugs@ximian.com
@@ -36,6 +36,19 @@
I attached a repro that demonstrates this behaviour.
------- Additional Comments From gert.driesen@pandora.be 2003-11-23 15:20 -------
Created an attachment (id=5995)
repro that demonstrates the issue
+
+------- Additional Comments From ginga@kit.hi-ho.ne.jp 2003-12-15 10:51 -------
+As far as I tried MS.NET 1.1, System.Uri is not designed to allow
+relative URI as its argument. To specify relative URI,
+
+- you have to pass "base URI" for another constructor new Uri (Uri
+baseUri, string relativeUri), or
+
+- you have to wait for .NET 1.2, which has another constructor new
+Uri (string uriString, bool dontEscape, bool allowRelativeUri).
+
+Of course System.Uri does not give the same results as MS.NET, but I
+think its design principle is not to allow relative URI here.