🇦🇪United Arab Emirates mkhamash Dubai
Rebased the PR and added a new patch file against 2.0.x-2d930c9fc4092f37944285ecf09659eaa1c9a062
🇦🇪United Arab Emirates mkhamash Dubai
Sorry Nicolas, yes I missed the part where I use the sanitized file [$event->getFilename()] fixed the patch and created a PR.
🇦🇪United Arab Emirates mkhamash Dubai
I have switched the above patch to use the built-in event FileUploadSanitizeNameEvent this will allow other modules like transliterate_filenames to dispatch on the event.
Reference code was: https://api.drupal.org/api/drupal/core%21modules%21file%21src%21Plugin%2...