You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "jylinv0 (via GitHub)" <gi...@apache.org> on 2024/08/08 21:40:50 UTC

Re: [I] The RootedFileSystemProvider.resolveLocalPath() does not return normilized path any more [mina-sshd]

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-unsubscribe@mina.apache.org

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


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