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 about 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 #1

Updated by Gerrit Code Review about 1 year ago

  • Status changed from New 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/+/77797

Actions #2

Updated by Gerrit Code Review about 1 year ago

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

Actions #3

Updated by Thomas Hohn about 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by Benni Mack about 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF