Project

General

Profile

Actions

Bug #105446

open

lib.parseFunc_RTE and lib.parseFunc no longer have a allowTags default

Added by Garvin Hicking about 1 month ago. Updated 3 days ago.

Status:
Under Review
Priority:
Must have
Assignee:
-
Category:
Frontend
Target version:
Start date:
2024-10-24
Due date:
% Done:

0%

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

Description

With #104220 a change of behaviour was introduced that no longer sets `lib.parseFunc_RTE.allowTags = {$styles.content.allowTags}`.

If custom extensions like a sitepackage however previously used this code:

lib.parseFunc.allowTags := addToList(wbr)
lib.parseFunc_RTE.allowTags := addToList(wbr)

then addToList would actually set the previously empty allowTags ONLY to "wbr". This would then deny any tag besides "wbr", and not just allow "wbr" additionally to the previous default.

(Currently, this is not listed as an intentional breaking change)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #104220: Make parseFunc allowTags and denyTags optionalClosed2024-06-26

Actions
Actions #1

Updated by Garvin Hicking about 1 month ago

  • Related to Bug #104220: Make parseFunc allowTags and denyTags optional added
Actions #2

Updated by Gerrit Code Review about 1 month ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86763

Actions #3

Updated by Benni Mack 14 days ago

The problem is that we check for === '*' and not "inList('*')' which would solve the issue!

Actions #4

Updated by Gerrit Code Review 14 days ago

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87164

Actions #5

Updated by Gerrit Code Review 11 days ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87164

Actions #6

Updated by Gerrit Code Review 11 days ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86763

Actions #7

Updated by Gerrit Code Review 11 days ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86763

Actions #8

Updated by Gerrit Code Review 3 days ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87164

Actions #9

Updated by Gerrit Code Review 3 days ago

Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87164

Actions

Also available in: Atom PDF