[BUGFIX] Skip link validation of RTE filelink 30/22330/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:24 +0000 (19:24 +0200)
commit16a3be808b362b1c96e7600398d1865b2a537761
tree6c37269faec93f1a9d605ce9783b3e3848f7fe62
parent6a6ab723ab0281f9a736db10ca1f658261082036
[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/22330
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/linkvalidator/Classes/Linktype/InternalLinktype.php