[Mono-bugs] [Bug 55779][Nor] New - Uri.Equals broken

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 18 Mar 2004 19:10:26 -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 krisolav@hotmail.com.

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

--- shadow/55779	2004-03-18 19:10:26.000000000 -0500
+++ shadow/55779.tmp.31930	2004-03-18 19:10:26.000000000 -0500
@@ -0,0 +1,50 @@
+Bug#: 55779
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: System
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: krisolav@hotmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Uri.Equals broken
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+The Equals method should be case insensitive.  Other methods, like
+AbsoluteUri should return the lower case of the input.
+
+Steps to reproduce the problem:
+1. Run this code:
+
+      Uri a = new Uri("http://foo.com/test");
+      Uri b = new Uri("http://FOO.com/test");
+      Console.WriteLine( a.Equals(b) ? "equal" : "not equal");
+      Console.WriteLine( "a = " + a.AbsoluteUri );
+      Console.WriteLine( "b = " + b.AbsoluteUri );
+
+2. 
+3. 
+
+Actual Results:
+not equal
+a = http://foo.com/test
+b = http://FOO.com/test
+
+Expected Results:
+equal
+a = http://foo.com/test
+b = http://foo.com/test
+
+How often does this happen? 
+Every time
+
+Additional Information: