Skip to content
Snippets Groups Projects
Commit 932ff134 authored by Stephan Großberndt's avatar Stephan Großberndt Committed by Oliver Hader
Browse files

[BUGFIX] Avoid exception when trying to download a non-existing file

This patch fixes a regression introduced by change
https://review.typo3.org/c/Packages/TYPO3.CMS/+/65126 which lead to
an HTTP 500 exception instead of returning HTTP 404 by making sure
that FileDumpController->isFileValid() is not called with NULL as
parameter.

Resolves: #92957
Related: #91754
Releases: master, 10.4, 9.5
Change-Id: I824606867063f421f1a6fdfde4788846ddcc41a7
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/66947


Tested-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarOliver Hader <oliver.hader@typo3.org>
Reviewed-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: default avatarOliver Hader <oliver.hader@typo3.org>
parent 7337998a
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment