Add system setting upload_translit. If this setting is yes (default), filename of any uploaded file will be transliterated according global translitirating rules (setting friendly_alias_translit)
Why is it needed?
There are many problems a file can give on server, for example, with a russian name.
How to test
You should to rebuild transport core - php _build/transport.core.php, remove /setup/.locked/ and run setup. Then you can install Translit extra from MODX repo or any other, for example yTranslit from modstore.pro. Set setting friendly_alias_translit to russian or any other. Upload any files with non latin symbols. Name of uploaded file should be transliterated.
What does it do?
Add system setting
upload_translit
. If this setting isyes
(default), filename of any uploaded file will be transliterated according global translitirating rules (settingfriendly_alias_translit
)Why is it needed?
There are many problems a file can give on server, for example, with a russian name.
How to test
You should to rebuild transport core -
php _build/transport.core.php
, remove/setup/.locked/
and run setup. Then you can installTranslit
extra from MODX repo or any other, for exampleyTranslit
frommodstore.pro
. Set settingfriendly_alias_translit
torussian
or any other. Upload any files with non latin symbols. Name of uploaded file should be transliterated.Related issue(s)/PR(s)
https://github.com/modxcms/revolution/issues/15007 https://github.com/modxcms/revolution/pull/15457