Closed lisardo2 closed 1 year ago
Can you tell me which paths are protected and give me an example of a path for a preview image? The problem seems familiar to me and should actually be solved.
Protected paths with a protected file: /fileadmin/downloads/greifer/ETL_Greifer_PM070_G160-300-020-010_V1-ab-.pdf Preview is the same of course: list in the TYPO3 backend and rendered preview image in the frontend. Definition in preferences of secure_download: |fileadmin/downloads|...other paths follows.
A colleague and I have tried to recreate this error. Unfortunately without success. In our case, the PDF preview images are generated correctly. What path do the preview images have? Does the path for preview images also start with an SDL token? <img src="/securedl/sdl-eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2OTY1Nzk1ODUsImV4c .../preview_XX.png" >
I suspect an error in your web server configuration. If the extension was responsible for the error, I would get a 403 error message, not a 404 message.
Describe the bug Preview Images of pdf files in filelist module in secured folders are broken (with error 404). preview images in non secured folder are correct. Same problem in the frontend: the preview of a pdf is only shown outside a secured folder. If the pdf lies in a secured folder the preview results in error 404 and the download link works as expected.
To Reproduce Steps to reproduce the behavior:
Expected behavior Show preview images as in version 4
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):