Allow renamed files to be lowercase and without spaces

Created on 8 December 2015, over 9 years ago
Updated 29 April 2025, 4 days ago

Currently when you rename an uploaded file using a token from a textfield, the renamed file can have uppercase letters, spaces, etc. and there's no way to change this.

I notice that Webform uses transliteration_get() for the renaming if the Transliteration module is enabled, however, since Transliteration has a setting that allows uploaded files to be renamed to lowercase, I think Webform should adhere to this setting and therefore use transliteration_clean_filename() for renaming instead.

Feature request
Status

Closed: outdated

Version

4.0

Component

Code

Created by

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

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