Possibility to sanitize file name when using CORS?

Created on 7 March 2020, over 4 years ago
Updated 1 January 2024, 11 months ago

There's big work in core going on with sanitizing the file uploads - https://www.drupal.org/node/2492171 → . Drupal validates basically any name at the moment but if spaces would be replaced with -, all characters changed to Latin etc, then things would be little safer. I came across this issue when writing AWS Lamda and it would make things easier if file names would be sanitized before getting to S3. Do you think it's possible to change file name using CORS?

✨ Feature request
Status

Fixed

Version

2.0

Component

Code

Created by

🇪🇪Estonia hkirsman

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024