mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Myasnikov (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FTPSERVER-426) Most ftp-clients sends FEAT before authentication
Date Wed, 26 Oct 2011 10:17:32 GMT
Most ftp-clients sends FEAT before authentication

                 Key: FTPSERVER-426
                 URL: https://issues.apache.org/jira/browse/FTPSERVER-426
             Project: FtpServer
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.0.6, 1.0.5, 1.1.0
            Reporter: Alexey Myasnikov

Most clients sends FEAT command before authentication. So, it should be listed in NON_AUTHENTICATED_COMMANDS
in org.apache.ftpserver.impl.DefaultFtpHandler. Please, find the patch below.

--- a/core/src/main/java/org/apache/ftpserver/impl/DefaultFtpHandler.java
+++ b/core/src/main/java/org/apache/ftpserver/impl/DefaultFtpHandler.java
@@ -48,7 +48,7 @@ public class DefaultFtpHandler implements FtpHandler {
     private final Logger LOG = LoggerFactory.getLogger(DefaultFtpHandler.class);
     private final static String[] NON_AUTHENTICATED_COMMANDS = new String[] {
-            "USER", "PASS", "AUTH", "QUIT", "PROT", "PBSZ" };
+            "USER", "PASS", "AUTH", "QUIT", "PROT", "PBSZ", "FEAT" };
     private FtpServerContext context;

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message