parse-dashboard icon indicating copy to clipboard operation
parse-dashboard copied to clipboard

Special characters in filenames of images uploaded through parse dashabord

Open JonComo opened this issue 10 years ago • 2 comments

Environment Setup

Standalone parse-server with s3 filesAdapter, iOS parse SDK.

Steps to reproduce

Not sure if this has been seen by others before, but thought it was interesting to note. I was getting 403 forbidden when trying to load an image posted through the dashboard. It turns out that having a space character in the filename was the issue. The file is still correctly saved in s3, and is publicly accessible, its just the iOS request that's failing.

When all spaces are removed before uploading through the dashboard, the file request works correctly without 403 error.

Logs/Trace

from iOS, when filename contains a space: Response status code was unacceptable: 403 (Code: 1, Version: 1.13.0)

Haven't looked into a solution yet, just wanted to bring this to your attention as I had to do a bit of trial and error to see where the problem originated. Thanks!

JonComo avatar Oct 31 '16 18:10 JonComo

Yup, this is a real problem - probably a bug in Parse server itself tho. Let me know if you get the time to investigate.

mario avatar Nov 14 '16 21:11 mario

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jan 11 '19 02:01 stale[bot]