[Mono-bugs] [Bug 63055][Nor] Changed - Bad uri construction in uri constructor

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 13 Aug 2004 15:30:21 -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 atsushi@ximian.com.

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

--- shadow/63055	2004-08-13 15:17:18.000000000 -0400
+++ shadow/63055.tmp.9340	2004-08-13 15:30:21.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 63055
 Product: Mono: Class Libraries
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: 
-Status: NEW   
-Resolution: 
-Severity: 
+Status: RESOLVED   
+Resolution: NOTABUG
+Severity: Unknown
 Priority: Normal
 Component: System
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: azugaldia@yahoo.es               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -41,6 +41,21 @@
 http://www.domain.org/dir1/dir2/ + ../file.txt =
 http://www.domain.org/dir1/file.txt
 
 that means a strange/wrong behaviour in the first case (when the path
 doesn't end with a /). It seems the constructor thinks dir2 is a file, not
 a dir, in the first case.
+
+------- Additional Comments From atsushi@ximian.com  2004-08-13 15:30 -------
+There is no way to identify if "dir2" is file or directory. Thus it is
+regarded as a file name. It should be the expected design, since for
+directory you could explicitly identify by appending '/'.
+
+$ csc -nologo 63055.cs
+
+_@r50 ~/tests
+$ ./63055
+http://www.domain.org/dir1/dir2 + ../file.txt =
+http://www.domain.org/file.txt
+http://www.domain.org/dir1/dir2/ + ../file.txt =
+http://www.domain.org/dir1/file.txt
+