---
title: "Feature: #68600 - Introduced ResourceStorage SanitizeFileName signal"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:feature-68600"
source: "Changelog/7.4/Feature-68600-IntroducedResourceStorageSanitizeFileNameSignal.rst"
modified: "2026-09-14T09:47:36+00:00"
---

# Feature: #68600 - Introduced ResourceStorage SanitizeFileName signal

See [forge#68600](https://forge.typo3.org/issues/68600)

## Description

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
`TYPO3CMSCoreResourceResourceStorage`.
The signal is emitted when `ResourceStorage::sanitizeFileName` or `ResourceStorage::addFile` are called.

## Impact

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.
