[BUGFIX] Linkvalidator: Links (from rte) not detected correctly 92/52592/10
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 06:49:02 +0000 (08:49 +0200)
commit1522bad3362b0e68d404b09cc1eadae45970ddcc
tree642e852e7eadf15521e69766b900a0f7bde89f9f
parent92b5d23ac2a2fba95cbee840bb4b0eee435e0555
[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.

Resolves: #80991
Resolves: #80988
Releases: master, 8.7
Change-Id: I5a9267b1d4ab53a6a39efdbd411e610dc9233ead
Reviewed-on: https://review.typo3.org/52592
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christer V <cvi@systime.dk>
Tested-by: Christer V <cvi@systime.dk>
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