Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The form generated by file_entity_settings_form() has help text for the Default allowed file extensions (file_entity_default_allowed_extensions) field that's copied from core's help text on file field configuration. It reads: "Separate extensions with a space or comma and do not include the leading dot."
Unfortunately this is not accurate. Core's implementation adds a validator (_file_generic_settings_extensions) that cleans up comma-separated values before saving to the db, but File Entity does not. I'd like to suggest we simply update the help text to be accurate.
Comment | File | Size | Author |
---|---|---|---|
#2 | file_entity-fix_help_text_comma_separated-2796065-2.patch | 762 bytes | azinck |
Comments
Comment #2
azinck CreditAttribution: azinck commentedComment #5
joseph.olstadComment #6
joseph.olstadThanks!