Project

General

Profile

Actions

Bug #99892

closed

The method split_tag_attributes in GeneralUtility.php can throw the PHP warning : Undefined array key "2" in ...

Added by Thomas Hohn over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Start date:
2023-02-09
Due date:
% Done:

100%

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

Description

The method split_tag_attributes in GeneralUtility.php can throw the PHP warning : Undefined array key "2"
if some faulty HTML tags are present in the RTE-editor.

For instance:

Lorem ipsum Lorem ipsum Lorem ipsum
<a class="internal-link" data-turbolinks="false" href="t3://page?uid=202#c342&gt;figur 6.1&lt;/a&gt;
Lorem ipsum Lorem ipsum Lorem ipsum

where an editor has "pasted" code from the Frontend into the RTE

Actions

Also available in: Atom PDF