You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Sai Pullabhotla (JIRA)" <ji...@apache.org> on 2010/01/21 15:09:55 UTC

[jira] Created: (FTPSERVER-345) Update the replies of MD5 and MMD5 commands to include the file path in double quotes when there are spaces in the path

Update the replies of MD5 and MMD5 commands to include the file path in double quotes when there are spaces in the path
-----------------------------------------------------------------------------------------------------------------------

                 Key: FTPSERVER-345
                 URL: https://issues.apache.org/jira/browse/FTPSERVER-345
             Project: FtpServer
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.0.3
            Reporter: Sai Pullabhotla
            Priority: Minor
             Fix For: 1.0.4


Even though the RFC does not explicitly say this, the example replies showed in the RFC enclose all file paths in double quotes. I'm not sure if there are any FTP clients that look for double quotes presence. A smart FTP client could always grab the checksum from the last token in the reply, where each token is separated by one or more white spaces. In order to offer best compatibility, I would recommend enclosing the file paths in double quotes when they contain any spaces. 

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


[jira] Resolved: (FTPSERVER-345) Update the replies of MD5 and MMD5 commands to include the file path in double quotes when there are spaces in the path

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

Sai Pullabhotla resolved FTPSERVER-345.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.0

Committed the fix to trunk and 1.0.x branch. 

> Update the replies of MD5 and MMD5 commands to include the file path in double quotes when there are spaces in the path
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: FTPSERVER-345
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-345
>             Project: FtpServer
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.3
>            Reporter: Sai Pullabhotla
>            Priority: Minor
>             Fix For: 1.0.4, 1.1.0
>
>
> Even though the RFC does not explicitly say this, the example replies showed in the RFC enclose all file paths in double quotes. I'm not sure if there are any FTP clients that look for double quotes presence. A smart FTP client could always grab the checksum from the last token in the reply, where each token is separated by one or more white spaces. In order to offer best compatibility, I would recommend enclosing the file paths in double quotes when they contain any spaces. 

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