#99975TYPO3\CMS\Frontend\Service\TypoLinkCodecService throws error on a-tag without href
Description
“a” tags with missing href attributes (such as ‘bar‘ or bar) lead to:
(1/1) #1476107295 TYPO3\CMS\Core\Error\Exception
PHP Runtime Deprecation Notice: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/public/typo3/sysext/frontend/Classes/Service/TypoLinkCodecService.php line 81
Since $typolink is ‘NULL’ at this point.
Reviews 2
Files 1
History 819
-
Sven Ignor changed
typoLinkCodecServiceCheckTypoLinkBeforeTrim.patch02/17/23, 08:07 -
Sven Ignor changed attached checkTypolinkBeforeTrimming.patch 02/17/23, 08:37
-
Sven Ignor changed
checkTypolinkBeforeTrimming.patch02/17/23, 11:19 -
Sven Ignor changed attached checkTypolinkBeforeTrimming.patch 02/17/23, 11:20
-
Gerrit Code Review pushed patch set 1 for main to change 77887 status
NewUnder Review 02/17/23, 12:57 -
Thomas Hohn changed target version 02/17/23, 13:01
-
Gerrit Code Review pushed patch set 2 for main to change 77887 02/17/23, 13:21
-
Gerrit Code Review pushed patch set 3 for main to change 77887 02/17/23, 13:35
-
Gerrit Code Review pushed patch set 4 for main to change 77887 02/17/23, 13:54
-
Gerrit Code Review pushed patch set 5 for main to change 77887 02/17/23, 14:07
-
Gerrit Code Review pushed patch set 6 for main to change 77887 02/17/23, 14:34
-
Gerrit Code Review pushed patch set 7 for main to change 77887 02/17/23, 15:49
-
Gerrit Code Review pushed patch set 8 for main to change 77887 02/17/23, 16:30
-
Gerrit Code Review pushed patch set 9 for main to change 77887 02/17/23, 16:44
-
Gerrit Code Review pushed patch set 1 for 11.5 to change 77956 02/24/23, 15:41
-
Thomas Hohn commented and changed status
Under ReviewResolved done0 %100 % 02/24/23, 15:45 -
Gerrit Code Review pushed patch set 2 for 11.5 to change 77956 status
ResolvedUnder Review 03/13/23, 22:39 -
Thomas Hohn commented and changed status
Under ReviewResolved 03/14/23, 07:00Applied in changeset commit:241e1d86b7ad02969cd054fdaa4c2147135c8970.
-
Benni Mack changed status
ResolvedClosed 03/14/23, 11:47
Applied in changeset commit:6529229a29d56c1a1f494e74ae3e7e4450bc1c6b.