[Mono-bugs] [Bug 71053][Wis] New - System.Uri - Creation of uri with relative path fails
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 6 Jan 2005 11:12:32 -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 ilyak@mainsoft.com.
http://bugzilla.ximian.com/show_bug.cgi?id=71053
--- shadow/71053 2005-01-06 11:12:32.000000000 -0500
+++ shadow/71053.tmp.17833 2005-01-06 11:12:32.000000000 -0500
@@ -0,0 +1,32 @@
+Bug#: 71053
+Product: Mono: Class Libraries
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: System
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: ilyak@mainsoft.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: System.Uri - Creation of uri with relative path fails
+
+Steps to reproduce the problem:
+Uri u = new Uri("http://localhost/../../../a");
+
+Actual Results:
+System.Exception thrown with message: Invalid path.
+
+Here is fragment of the exception's stack trace:
+ at system.Uri.Reduce(uri.cs:1098)
+ at system.Uri.Parse(uri.cs:1079)
+ at system.Uri.Parse(uri.cs:819)
+
+
+Expected Results:
+should work