Feature: #68600 - Introduced ResourceStorage SanitizeFileName signal¶
See Issue #68600
In order to check whether an uploaded/newly added file already exists before uploading it or to ask for user preferences about already existing files only when needed, the final name for the uploaded file is needed.
In order to let extensions do custom sanitizing of a file name the signal
sanitizeFileName is introduced in
The signal is emitted when
ResourceStorage::addFile are called.
All installations with extensions that use the PreFileAdd signal to change/sanitize a file name. This logic should be moved to the new sanitizeFileName signal.