Issue Bug Closed

#88424Thumbnails of EPS files are not generated anymore

Sebastian Schmal 05/23/19, 14:35 updated 09/30/25, 12:50

Description

Hi all,
Hi Oliver Hader,

after the Update from TYPO3 8.7.26 and close the Security-Fix for ImageMagick, so open a new Bug with EPS – Files!
After upload a .eps File Error: (Internal Server Error) Hochladen von Datei “test.eps” fehlgeschlagen!

The Upload works perfect, but no ThumbNail for this File.

In TYPO3 8.7.24 works all fine with EPS Files!

Thanks, Sebastian

Reviews 1

History 8

  1. Oliver Hader changed project id subject [SECURITY] Enclose file type scope when invoking ImageMagick Thumbnails of EPS files are not generated anymore <span data-processor="relativetime" data-value="2019-06-03T10:05:09+00:00" > 06/03/19, 10:05 </span>

  2. Oliver Hader commented <span data-processor="relativetime" data-value="2019-06-03T10:12:07+00:00" > 06/03/19, 10:12 </span>

    Disallowing PostScript files (PS, EPS, …) was exactly the scope of the security fix in https://review.typo3.org/c/Packages/TYPO3.CMS/+/60700 since PS instructions would be directly executed by the according interpreter (GhostScript) when being invoked through ImageMagick.

    The only thing I could think of is to have a possibility to weaken denied file extensions (like EPS) on a particular context and configured explicitly for a particular TYPO3 instance, e.g.

    • allow EPS rendering in backend file list module
    • still deny EPS rendering for file uploads in some frontend contact form

    In case there are alternative suggestions please add them to this ticket. Thx

  3. Sebastian Schmal commented <span data-processor="relativetime" data-value="2019-06-04T09:26:42+00:00" > 06/04/19, 09:26 </span>

    Oliver Hader wrote:
    > Disallowing PostScript files (PS, EPS, …) was exactly the scope of the security fix in https://review.typo3.org/c/Packages/TYPO3.CMS/+/60700 since PS instructions would be directly executed by the according interpreter (GhostScript) when being invoked through ImageMagick.
    >
    > The only thing I could think of is to have a possibility to weaken denied file extensions (like EPS) on a particular context and configured explicitly for a particular TYPO3 instance, e.g.
    >
    > * allow EPS rendering in backend file list module
    > * still deny EPS rendering for file uploads in some frontend contact form
    >
    > In case there are alternative suggestions please add them to this ticket. Thx

    Hi Oliver, thanks for the answer!
    And allow only EPS-Files Update without Thumbnail?
    The Upload from EPS works fine, but maybe you can disable the Thumbnail-Image for the Error Message.

    Thanks, Sebastian

  4. Sebastian Schmal commented <span data-processor="relativetime" data-value="2020-02-25T11:37:36+00:00" > 02/25/20, 11:37 </span>

    Hi, we have the same Problem with the new x-eps Files.
    In TYPO3 Version 8.x and 9.x
    PHP 7.2

    the Config dont help:
    [GFX][imagefile_ext] = gif,jpg,jpeg,tif,tiff,bmp,pcx,tga,png,pdf,ai,eps,xeps,x-eps

  5. Riccardo De Contardi commented and changed status New Closed <span data-processor="relativetime" data-value="2025-09-30T12:50:15+00:00" > 09/30/25, 12:50 </span>

    @Sebastian Schmal

    sorry for the late reply, I hope it is right for you to close this issue.
    I actually have not understood from your comments if the problem is that you successfully uploaded a .esp file but you still got a thumbnail generation error somehow…
    I tried to upload a .eps file on a fresh composer-based installation 9.5.31 and got no error (no thumbnail generated).

    If you think that I have misunderstood the problem and this is the wrong decision please let me know and I’ll reopen it

    Thank you