[BUGFIX] Skip link validation of RTE filelink 31/22331/2
authorVisay Keo <visay.keo@typo3.org>
Thu, 20 Jun 2013 12:01:35 +0000 (19:01 +0700)
committerWouter Wolters <typo3@wouterwolters.nl>
Tue, 16 Jul 2013 17:24:54 +0000 (19:24 +0200)
commit44e5c5f84713eab046fe2bd54037263b2637ce33
tree030084b95e953408f86d84c0d2ff4b206d7380c0
parente6433b69237679989f2fdb49bc10566d18819091
[BUGFIX] Skip link validation of RTE filelink

When a text is linked to a file using RTE link wizard,
linkvalidator will detect it as internal link.
The validation check for internal page when it is a file will always fail.

This patch just skip validation if it finds a link to the file.

TODO:
* Proper validation of the file need to be applied.

Resolves: #49286
Releases: 6.0, 6.1, 6.2
Change-Id: I1b4901e2ac311ae93442fef044e4f7d7ae415753
Reviewed-on: https://review.typo3.org/22331
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/linkvalidator/Classes/Linktype/InternalLinktype.php