Optionally use the name sanitizer service SanitizeName in transliterate_filenames

Created on 21 October 2020, over 4 years ago
Updated 27 February 2024, about 1 year ago

\Drupal\dropzonejs\UploadHandler::getFilename sanitizes the filename manually, but could use the service in the transliterate_filenames module to do that.

I have added an optional setter-injection to use this service instead of manually sanitizing the name.
I did not add the optional dependency to the info.yml file, because then the patch will not be applicable with composer anymore (because drupal.org packaging adds a version number to that file which is not present in the patch)

Feature request
Status

Closed: duplicate

Version

2.0

Component

Code

Created by

🇳🇱Netherlands spadxiii

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