Project

General

Profile

Actions

Bug #95713

closed

Reports module and html sanitizer is limiting output (icon, javascript...)

Added by Yohann CERDAN about 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Security
Target version:
-
Start date:
2021-10-20
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

Hi,

I use to maintain a complex reporting extension who use "Reports" (https://extensions.typo3.org/extension/additional_reports).
Since typo3 v11, reports apply a global sanitize to the output like this :

typo3/sysext/reports/Resources/Private/Templates/Report/Detail.html
{content -> f:transform.html() -> f:sanitize.html()}

But this is limiting us A LOT in the output, for example :
- we cannot use IconFactory like <core:icon identifier="apps-pagetree-page-default" size="small" /> in our StandaloneView
- we cannot include any javascript in our StandaloneView (i use to have a mini menu that filter datas)

Everything will be encoded, is it possible to find a workarround for this?

Thanks


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #95179: Transform internal URIs in backend user interfaceClosed2021-09-10

Actions
Related to TYPO3 Core - Bug #97542: TYPO3 Module Reports throws Exception if no site existsClosed2022-05-03

Actions
Actions

Also available in: Atom PDF