- Status changed to Needs review
over 1 year ago 2:09pm 31 August 2023 - π³π±Netherlands casey
It would be even better to first check if a webp is being requested, before trying to validate if the requested uri is an image.
- π³π±Netherlands casey
Actually, why is it even allowed to request/generate a webp when a specific (not a image-style derivative) file is being requested?
This patch simply removes the FileDownloadController replacement.
- π©πͺGermany spuky
@casey I would be on your side... that that is not needed...
But maybe there are people that whant to optimize unstyled images...
https://www.drupal.org/project/webp/issues/3143491 β is the issue that introduced that FileDownloadController so there seems to be a Usecase for that...
I think there needs to be a discussion on which path to take... leave the controller in and Just fix the only reacting to Urs ending in webp or getting rid of the controller.