Redactor Redactor 3.x Feature Configuration Upload Filename Sanitization
On upload, Redactor will sanitize file names to make sure they’re clean.
This uses a few system settings:
redactor.sanitize_pattern, contains a REGEX pattern of acceptable characters. Defaults to
redactor.sanitize_replacecontains the value invalid characters are replaced with, defaults to
redactor.translitcan be set to a transliteration strategy.
iconvis included; others can be enabled with a third party package such as Translit. If you’ve configured the MODX core
translitsetting, you can leave
redactor.translitempty to inherit the same configuration.
To disable file name cleaning (which is not recommended unless you use a separate implementation), disable Clean filenames in the Media - Uploads section of the configurator.