You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ftpserver-dev@incubator.apache.org by "Ivan Zaera Avellon (JIRA)" <ji...@apache.org> on 2006/06/02 08:49:29 UTC

[jira] Created: (FTPSERVER-46) Login needed (incorrectly) to send an ACCT command

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


[jira] Closed: (FTPSERVER-46) Login needed (incorrectly) to send an ACCT command

Posted by "Niklas Gustavsson (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/FTPSERVER-46?page=all ]

Niklas Gustavsson closed FTPSERVER-46.
--------------------------------------

    Resolution: Fixed
      Assignee: Rana Bhattacharyya

Fixed by Rana on rev 418682

> Login needed (incorrectly) to send an ACCT command
> --------------------------------------------------
>
>                 Key: FTPSERVER-46
>                 URL: http://issues.apache.org/jira/browse/FTPSERVER-46
>             Project: FtpServer
>          Issue Type: Bug
>         Environment: Windows, JDK5.0, but the bug is not platform dependant
>            Reporter: Ivan Zaera Avellon
>         Assigned To: Rana Bhattacharyya
>
> 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