[Mono-bugs] [Bug 45614][Nor] Changed - Uri different work MSNET vs Mono

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 12 Aug 2003 20:15:59 -0400 (EDT)


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 duncan@ximian.com.

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

--- shadow/45614	2003-08-11 18:28:35.000000000 -0400
+++ shadow/45614.tmp.12153	2003-08-12 20:15:59.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 45614
 Product: Mono/Class Libraries
 Version: unspecified
 OS: Red Hat 9.0
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Normal
 Component: System
 AssignedTo: duncan@ximian.com                            
 ReportedBy: pumpik@hotpop.com               
 QAContact: mono-bugs@ximian.com
@@ -38,6 +38,19 @@
 Always.
 
 Additional Information:
 
 ------- Additional Comments From duncan@ximian.com  2003-08-11 18:28 -------
 I'll look into this.
+
+------- Additional Comments From duncan@ximian.com  2003-08-12 20:15 -------
+Okay, it was a simple patch:
+
+@@ -161,12 +163,12 @@ namespace System 
+ 			// par 5.2 step 6 a)
+ 			path = baseUri.path;
+ 			pos = path.LastIndexOf ('/');
+-			if (pos > 0) 
++			if (pos >= 0) 
+ 				path = path.Substring (0, pos + 1);
+
+This is FIXED.