[Mono-bugs] [Bug 394681] New: [WIN32] Path. GetFullPath broken when CurrentDirectory is a UNC path

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue May 27 09:02:34 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=394681


           Summary: [WIN32] Path.GetFullPath broken when CurrentDirectory is
                    a UNC path
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: robertj at gmx.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Test case:

using System;
using System.IO;

class Test
{
        static void Main ()
        {
                Directory.SetCurrentDirectory (@"\\192.168.0.1\robertj");
                Console.WriteLine (Path.GetFullPath ("."));
        }
}

Expected output:

\\192.168.0.1\robertj

Actual output:

\\192.168.0.1\robertj\\192.168.0.1\robertj\192.168.0.1\robertj

It only occurs if the server name is an IP.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list