Regression - Local files with a dot in their filenames are not correctly served

Created on 15 December 2023, 11 months ago
Updated 23 January 2024, 10 months ago

Problem/Motivation

It appears that 2.1.3 introduced a regression, specifically πŸ› Fetching does not respect use_imagecache_root when using converted webp image styles Fixed
Local files with a dot in their filenames (e.g.: my.file.png) are not correctly served anymore.

Steps to reproduce

Upload a new image with a dot in its name, e.g: my.file.png
When accessing the image style, it is hotlinked to
styles/*/**/my.file?itok=*** instead of
styles/*/**/my.file.png?itok=***

Proposed resolution

Not sure, fix the offending commit.

Digging in the code, the condition here may not be ideal.

Remaining tasks

TODO

User interface changes

TODO

API changes

TODO

Data model changes

TODO

πŸ› Bug report
Status

Closed: duplicate

Version

2.1

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium herved

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024