-
Notifications
You must be signed in to change notification settings - Fork 99
Description
Hello!
Haven't had the chance to thank you yet for your work & dedication to this project. I chose sveltia for a low-carbon & pro-bono project as it fits the bill perfectly. 🙏
What
Uploaded images filenames are not sanitized.
I cannot tell if my config.yml is incomplete or if the feature is missing. It seems like it's implemented in decapcms, see here: decaporg/decap-cms#1135
My expectation is that any image upload should get sanitized, following the slug.encoding& slug.clean_accents rules. However it's not happening - spaces, accents & other characters are left in the image filename. Am I missing something ?
Additionally, a way to automatically rename images (with a template ? for instance {{collection}}-{{datetime}} would be awesome.
Why
There are a few reasons, the main ones being anonymizing the filename, and avoiding any issue with hosting not handling accents properly.