[BUGFIX] Catch exceptions while dumping a file 65/50665/2
authorWouter Wolters <typo3@wouterwolters.nl>
Wed, 11 May 2016 14:14:53 +0000 (16:14 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Tue, 15 Nov 2016 16:36:39 +0000 (17:36 +0100)
commit7ad9178c61f90d6ae5e39f7ce4d11a66157c7f85
treefc451d880563c04285339b1d15db9632f7e4ae05
parentefe1d731c0dd82bf4f966a4e5289967cec5100ec
[BUGFIX] Catch exceptions while dumping a file

While dumping a file in the frontend no exceptions are
caught. When a exception happens a 500 HTTP status is thrown.

Catch all exceptions to return the correct 404 HTTP status.

Releases: master,7.6,6.2
Resolves: #76153
Change-Id: Ice7097b6a41432ec580f99185d352307c5f55394
Reviewed-on: https://review.typo3.org/50665
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/core/Classes/Controller/FileDumpController.php