#93410The download of pdf files via privatestorage/eID returns an image
Description
Core Bug/Case: TYPO3 Version 10.4.12, PHP 7.4
namespace TYPO3\CMS\Core\Controller\FileDumpController:85;
The issue is that this is an unexpected behavour. The function tries to process everything.
// Apply cropping, if possible
if (!$file instanceof ProcessedFile) {
$cropVariant = $parameters['cv'] ?: 'default';
$cropString = $file instanceof FileReference ? $file->getProperty('crop') : '';
$cropArea = CropVariantCollection::create((string)$cropString)->getCropArea($cropVariant);
$processingInstructions = [
'crop' => $cropArea->isEmpty() ? null : $cropArea->makeAbsoluteBasedOnFile($file),
];
Expectation should be to get the original file and not an unexpected behavour. If I want to process images, I want to use explicit image processes. Same goes for huge images, for example image databases. At least there should be an config or setting to change this behavour.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.