silexlabs / unifile

Unified access to cloud storage services through a simple web API.
https://silexlabs.github.io/unifile/
MIT License
144 stars 32 forks source link

[SFTP] fix error when listing empty path #163

Closed JbIPS closed 4 years ago

JbIPS commented 4 years ago

When trying to list or stat with an empty path as param, it will apply it on the root path instead of throwing an error.

Closes https://github.com/silexlabs/Silex/issues/974

JbIPS commented 4 years ago

Yes, if this fix is greenlit I'll create a new patch version

JbIPS commented 4 years ago

Would it be useful to do the same with ftp?

FTP is OK for me, with a local VSFTPD server and my OVH instance