Actions
Bug #99653
closedBug in http_makelinks when parse_url($scheme . $parts[0]); is performed
Start date:
2023-01-20
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:
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.
Actions