[Mono-bugs] [Bug 28549][Min] New - System.Uri.CheckSchemeName() contains two bugs

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
5 Aug 2002 02:36:41 -0000

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 americ@acm.org.


--- shadow/28549	Sun Aug  4 22:36:41 2002
+++ shadow/28549.tmp.31081	Sun Aug  4 22:36:41 2002
@@ -0,0 +1,28 @@
+Bug#: 28549
+Product: Mono/Class Libraries
+Version: unspecified
+OS: SuSE 8.0
+OS Details: 
+Status: NEW   
+Priority: Minor
+Component: System
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: americ@acm.org               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: System.Uri.CheckSchemeName() contains two bugs
+I found these bugs while browsing code. I should write a test to demonstrate them, but so far  
+I've been unable to get the nunit and the tests to compile.  
+I'm using mono/mcs 0.13.  
+The bugs in System.Uri.CheckSchemeName():  
+1) the if statement inside the for() loop should be &&'ing the expressions together, not 
+||'ing them.  
+2) the if statement inside the for() loop should be checking for '.' instead of ','. I checked  
+Microsoft's docs on this.