You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Niklas Gustavsson (JIRA)" <ji...@apache.org> on 2011/05/11 11:54:47 UTC

[jira] [Closed] (FTPSERVER-412) OPTS MLST does not handle unknown factnames correctly

     [ https://issues.apache.org/jira/browse/FTPSERVER-412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niklas Gustavsson closed FTPSERVER-412.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.0
                   1.0.6
         Assignee: Niklas Gustavsson

Fixed in rev 1101807 and 1101808. I did not use the provided patch, please verify if the fix solves your issue.

> OPTS MLST does not handle unknown factnames correctly
> -----------------------------------------------------
>
>                 Key: FTPSERVER-412
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-412
>             Project: FtpServer
>          Issue Type: Bug
>    Affects Versions: 1.0.5
>            Reporter: Allen Firstenberg
>            Assignee: Niklas Gustavsson
>             Fix For: 1.0.6, 1.1.0
>
>         Attachments: OPTS_MLST.java
>
>
> RFC 3659, section 7.9 states "Facts requested that are not supported, or that are inappropriate to the file or directory being listed should simply be omitted from the MLSx output.  This is not an error.  Note that where no factname arguments are present, the client is requesting that only the file names be returned."
> org.apache.ftpserver.command.impl.OPTS_MLST.validateSelectedTypes() specifically returns null if one of the types requested is not found, and a null return generates the 501 from execute().

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira