[BUGFIX] Catch all resource exceptions when parsing RTE links 45/31745/2
authorHelmut Hummel <helmut.hummel@typo3.org>
Mon, 14 Jul 2014 16:00:30 +0000 (18:00 +0200)
committerHelmut Hummel <helmut.hummel@typo3.org>
Thu, 24 Jul 2014 06:15:56 +0000 (08:15 +0200)
commitb4aa2ff0b29a3ce2e54973505ab8709781380e61
treeb8a78402045a064aab04d563c629013277a1189d
parent4dcd4a02900315fd6982b9072a5dc1bfe805aa22
[BUGFIX] Catch all resource exceptions when parsing RTE links

The RteHtmlParser checks for valid links by trying to retrieve
a file or folder object. The FAL API will throw exceptions
if anything goes wrong with the given path.

Catch all these exceptions to ignore the invalid link
and act the same for invalid paths as for not found files/ folders

Releases: 6.2, 6.3
Resolves: #60316
Change-Id: I0752678eb8ed2b596c3a88536d957ec35c172d7b
Reviewed-on: http://review.typo3.org/31745
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
typo3/sysext/core/Classes/Html/RteHtmlParser.php