atomic-server icon indicating copy to clipboard operation
atomic-server copied to clipboard

If uploaded file name contains special characters, the file becomes inaccessible

Open ArmandoZ opened this issue 2 years ago • 2 comments

Hi, the steps I took and issue I found was:

  • Uploaded a file with name aa !@#$%^&()_+-=;,.txt (supposed to be a valid file name for most file systems)
  • Upload successed
  • When clicking into the uploaded file, error message shows Resource not found, where in normal cases the text field would show the file contents.
  • Link to the resource in the screenshot: https://atomicdata.dev/files/1694757937971-aa-%21%40%23%24%25%5E%26%28%29_%2B-%3D%3B%2C.txt
File Upload File Not Found

ArmandoZ avatar Sep 15 '23 06:09 ArmandoZ

Thanks for the report!

Will work on this

joepio avatar Sep 15 '23 06:09 joepio

Note to self: PR #659 adds S3 support through opendal and adds new tests. I think this is the perfect place to add a filename test.

joepio avatar Sep 19 '23 12:09 joepio