[Mono-bugs] [Bug 42303][Nor] Changed - Path.GetFullPath () does not handle '.' and '..'
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Mon, 5 May 2003 18:25:58 -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 bmaurer@users.sf.net.
http://bugzilla.ximian.com/show_bug.cgi?id=42303
--- shadow/42303 Mon May 5 12:20:47 2003
+++ shadow/42303.tmp.14757 Mon May 5 18:25:58 2003
@@ -5,18 +5,17 @@
OS Details: Red Hat 9 + libgc,mono,mcs up-to-date from cvs
Status: NEW
Resolution:
Severity: Unknown
Priority: Normal
Component: CORLIB
-AssignedTo: mono-bugs@ximian.com
+AssignedTo: bmaurer@users.sf.net
ReportedBy: gfr@skynet.be
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
URL:
-Cc: bmaurer@users.sf.net,gfr@skynet.be
Summary: Path.GetFullPath () does not handle '.' and '..'
Description of Problem:
When we call the method Path.GetFullPath () with a path like
'/somepath/./subpart/../././subpart/.' the result are different
@@ -135,6 +134,10 @@
I can try to write a function to get everything working if I have the
NUnit tests.
------- Additional Comments From bmaurer@users.sf.net 2003-05-05 12:20 -------
One other case I thought of:
/root//dir/ (double slash, how does MS handle this?)
+
+------- Additional Comments From bmaurer@users.sf.net 2003-05-05 18:25 -------
+Ok, function written. Now I need to write NUnit tests before this gets
+checked in.