manifest icon indicating copy to clipboard operation
manifest copied to clipboard

File uploads: Uploaded files with spaces in the filename are not URL-encoded, making them inaccessible for download

Open SebConejo opened this issue 5 months ago • 1 comments

When I upload a file with spaces in its name, the spaces are not URL-encoded. This causes issues when trying to download the file later, as URLs cannot handle spaces directly. For example, a file named "test 02" should have its spaces encoded as %20, but it currently isn't, making the file inaccessible for download.

  1. Here we can note the file we pushed contains white spaces. Capture d’écran 2024-10-01 à 23 34 54

  2. The response we see when trying to download this file { "message": "Cannot GET /storage/cats/certificate/Oct2024/1s8ug193nm1qyb7v3-Tool%20", "error": "Not Found", "statusCode": 404 }

SebConejo avatar Oct 01 '24 21:10 SebConejo