[BUGFIX] Catch all resource exceptions when parsing RTE links 19/31619/3
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:08 +0000 (08:15 +0200)
commitf9f4b49255d3ac19ee64e1942324466e5d34ec5c
tree1f0e3de53b4e79a0ddd3321421a06d5bdf8049d2
parentf6299924ce5a857f0d278081ba3f46e1074cc700
[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/31619
Reviewed-by: Alexander Schnitzler <typo3@alexanderschnitzler.de>
Tested-by: Alexander Schnitzler <typo3@alexanderschnitzler.de>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
typo3/sysext/core/Classes/Html/RteHtmlParser.php