You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Matthew Bellew (JIRA)" <ji...@apache.org> on 2008/03/27 21:21:24 UTC

[jira] Created: (FTPSERVER-118) NativeFileObject.getPhysicalName() should not trim() path (and path parts)

NativeFileObject.getPhysicalName() should not trim() path (and path parts)
--------------------------------------------------------------------------

                 Key: FTPSERVER-118
                 URL: https://issues.apache.org/jira/browse/FTPSERVER-118
             Project: FtpServer
          Issue Type: Bug
          Components: Core
            Reporter: Matthew Bellew


I have run across sites that have directory names with leading spaces (they do this when they want directories to sort to the top in Finder).  The server will not work with these directories because it trims the paths and the parts of the parsed paths in NativeFileObject.getPhysicalName().


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (FTPSERVER-118) NativeFileObject.getPhysicalName() should not trim() path (and path parts)

Posted by "Niklas Gustavsson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FTPSERVER-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niklas Gustavsson closed FTPSERVER-118.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0-M2
         Assignee: Niklas Gustavsson

Fix for this issue, thanks for reporting! Please verify that this fixes your issues. I added some test cases that should hopefully catch these cases. 


> NativeFileObject.getPhysicalName() should not trim() path (and path parts)
> --------------------------------------------------------------------------
>
>                 Key: FTPSERVER-118
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-118
>             Project: FtpServer
>          Issue Type: Bug
>          Components: Core
>            Reporter: Matthew Bellew
>            Assignee: Niklas Gustavsson
>             Fix For: 1.0-M2
>
>
> I have run across sites that have directory names with leading spaces (they do this when they want directories to sort to the top in Finder).  The server will not work with these directories because it trims the paths and the parts of the parsed paths in NativeFileObject.getPhysicalName().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.