Issue Bug Closed

#94810Unable to disable html sanitize

Robert van Kammen 08/11/21, 11:57 updated 08/13/21, 15:48

Description

Currently it is not possible to disable the html sanitize functionality.
Tested with the <f:format>… function<br>When I set lib.parseFunc.htmlSanitize = 0 and lib.parseFunc_RTE.htmlSanitize = 0 the html is still sanitized.</f:format>

This can be testen with:

<f:format.html><form action=""><input name="test" /></form></f:format.html>

The issue seems to be in the class: TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer in the function parseFunc.
Line: if ($conf['htmlSanitize'] ?? true) {

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.