Problem/Motivation

It appears that 2.1.3 introduced a regression, specifically #3402972: Fetching does not respect use_imagecache_root when using converted webp image styles
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

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

herved created an issue. See original summary.

smustgrave made their first commit to this issue’s fork.

smustgrave’s picture

Status: Active » Needs review

Dev from #3402972: Fetching does not respect use_imagecache_root when using converted webp image styles mentioned we maybe could revert this one line, can you verify if this fixes your issue.

herved’s picture

smustgrave’s picture

Status: Needs work » Closed (duplicate)

Reverted the cause issue.