jylinv0 commented on issue #397:
URL: https://github.com/apache/mina-sshd/issues/397#issuecomment-2276697902

   I bumped into this issue too.
   
   AbstractSftpSubsystemHelper.doRemoveDirectory takes valid input path 
`a/b/c/d/` and calls SftpFileSystemAccessor.resolveLocalFilePath, where 
`a/b/c/d/` is converted to `a/b/c/d/.`.
   
   In old version, `RootedFileSystemProvider.resolveLocalPath` will normalize 
`a/b/c/d/.` and doRemoveDirectory will complete successfully. From user's point 
of view, passing a valid  path `a/b/c/d/` as input and only get a vague error 
message saying `invalid argument` is quite confusing.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to