Bug #99653
closedBug in http_makelinks when parse_url($scheme . $parts[0]); is performed
100%
Description
If editors paste text into the RTE that contains the strings http:// and/or https:// the can
lead to a warning when parsing the text for linke creation.
Example:
We have a text that contains http:// og https://, which is the scheme. Also add https://www.typo3.org as an example.
The problem is that the call to:
$linkParts = parse_url($scheme . $parts[0]);
will fail on https:// and http://
The solution could be to add an check for the return value and leave the string untouched in case
it could bot be parsed.
Updated by Gerrit Code Review almost 2 years 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/+/77513
Updated by Gerrit Code Review almost 2 years 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/+/77513
Updated by Gerrit Code Review almost 2 years 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/+/77439
Updated by Thomas Hohn almost 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 883b98ced26efd6b75e9b45d6d20987d35a1acd0.
Updated by Thomas Hohn almost 2 years ago
- Related to Bug #99269: ContentObjectRenderer public function http_makelinks php 8.x Error and strange behavior at least since TYPO3 8LTS added