[BUGFIX] Avoid fatal error with invalid soft reference parser links
When a link href is empty or invalid, TYPO3 now does not crash anymore. Resolves: #100958 Releases: main, 12.4 Change-Id: I768d43b72a3abd55af06cd9750ac8a400bc41d63 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/79732 Reviewed-by:Benni Mack <benni@typo3.org> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Benni Mack <benni@typo3.org>
Showing
- typo3/sysext/backend/Classes/Form/Element/LinkElement.php 5 additions, 7 deletionstypo3/sysext/backend/Classes/Form/Element/LinkElement.php
- typo3/sysext/core/Classes/DataHandling/SoftReference/TypolinkSoftReferenceParser.php 7 additions, 7 deletions...ataHandling/SoftReference/TypolinkSoftReferenceParser.php
- typo3/sysext/core/Classes/DataHandling/SoftReference/TypolinkTagSoftReferenceParser.php 5 additions, 5 deletions...Handling/SoftReference/TypolinkTagSoftReferenceParser.php
- typo3/sysext/core/Classes/LinkHandling/LegacyLinkNotationConverter.php 6 additions, 0 deletions...core/Classes/LinkHandling/LegacyLinkNotationConverter.php
- typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/TypoLinkSoftReferenceParserTest.php 11 additions, 0 deletions...andling/SoftReference/TypoLinkSoftReferenceParserTest.php
- typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/TypoLinkTagSoftReferenceParserTest.php 13 additions, 0 deletions...ling/SoftReference/TypoLinkTagSoftReferenceParserTest.php
- typo3/sysext/frontend/Classes/Typolink/LegacyLinkBuilder.php 2 additions, 2 deletionstypo3/sysext/frontend/Classes/Typolink/LegacyLinkBuilder.php
Please register or sign in to comment