[ 
https://issues.apache.org/jira/browse/FTPSERVER-348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12839303#action_12839303
 ] 

Niklas Gustavsson commented on FTPSERVER-348:
---------------------------------------------

There's a comment by Sai for the code causing this bug:
        //TODO perhaps we do not need to check if the given argument contains 
        //path separator. Windows allows to create a dir like "a;b". Why should 
        //we restrict creation of such a folder?

The code causing the bug is due to a check where we check for the name of the 
new directory not containing File.fileSeparationChar, but this check should 
(and is) done in the file system implementation. Therefore, I fully agree, I 
don't think we need the code. 

> MKD command on linux checks for path separator before passing to 
> filesystemview
> -------------------------------------------------------------------------------
>
>                 Key: FTPSERVER-348
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-348
>             Project: FtpServer
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.0, 1.0.1, 1.0.2, 1.0.3
>            Reporter: Dan
>            Assignee: Niklas Gustavsson
>             Fix For: 1.0.4, 1.1.0
>
>
> Only a problem on linux although the windows might check for a backslash and 
> have the same problem. the filesystemview should be the one to decide if a 
> path is valid

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

Reply via email to