[BUGFIX] Linkvalidator: Links (from rte) not detected correctly 19/53219/2
authorThorben Nissen <thorben.nissen@kapp-hamburg.de>
Tue, 25 Apr 2017 07:15:11 +0000 (09:15 +0200)
committerBenni Mack <benni@typo3.org>
Thu, 15 Jun 2017 08:16:41 +0000 (10:16 +0200)
commit73f173e78c82859175a0e29db943695689d35338
tree28067cfeb81bbfc423202f4f330d666b153b4ceb
parent9938f72f5e0613d12e4b8f759259751b2e082917
[BUGFIX] Linkvalidator: Links (from rte) not detected correctly

Due to the changed link syntax ("t3://...") instead of "<link ...>" the
links to files and internal pages are not recognised anymore. Furthermore
are external links now written with <a href="..."> and are therefore also
not recognized anymore.

Rewrite code for detecting "typolink_tags" correctly. When recognizing
urls, e.g. from "external url" pages or plain urls in texts, include https
and not only http and ftp.

Change-Id: I00b8236d9d1f8c136506cee08224564c8f6cd1fa
Resolves: #80991
Resolves: #80988
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/53219
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/core/Classes/Database/SoftReferenceIndex.php
typo3/sysext/linkvalidator/Classes/LinkAnalyzer.php
typo3/sysext/linkvalidator/Classes/Linktype/InternalLinktype.php