Login needed (incorrectly) to send an ACCT command
--------------------------------------------------

         Key: FTPSERVER-46
         URL: http://issues.apache.org/jira/browse/FTPSERVER-46
     Project: FtpServer
        Type: Bug

 Environment: Windows, JDK5.0, but the bug is not platform dependant
    Reporter: Ivan Zaera Avellon


When user send an ACCT command, the RequestHandler class sends a "530 Access 
denied" message because the hasPermission method does not take into account the 
ACCT command.

It should not be necessary to be logged in when the user sends the ACCT 
command, as this command can carry information necessary to log the user in. 

The solution is easy, just add "cmd.equals("ACCT") ||" to the condition in 
RequestHandler.hasPermission's return statement.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to