Project

General

Profile

Actions

Bug #94714

closed

SvgFilesSanitization prevent subsequent file search

Added by Pierrick Caillon over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Install Tool
Target version:
-
Start date:
2021-08-04
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.3
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

The method SvgFilesSanitization::resolveSvgFiles set up a file extension filter in every resource storage. However, it does not reset the filter after use.

It prevents the usage of FormPersistenceManager::listForms to retrieve the forms to check them in some own update wizard. Or any other file searching which expect the filters to be defaulted.

A trivial fix would be in svgfilessanitization.patch.

Another solution would be to update FormPersistenceManager to replace the filters instead of adding, in formpersistencemanager.patch.

Or maybe do both?

Introduced since #94492


Files

svgfilessanitization.patch (1.14 KB) svgfilessanitization.patch Pierrick Caillon, 2021-08-04 17:20
formpersistencemanager.patch (1 KB) formpersistencemanager.patch Pierrick Caillon, 2021-08-04 17:23
SomeFormWizard.php (1.79 KB) SomeFormWizard.php Bare update wizard for testing Pierrick Caillon, 2021-08-04 17:37

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #94492: Introduce t3g/svg-sanitizerClosedOliver Hader2021-07-06

Actions
Actions

Also available in: Atom PDF