Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.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
Issue fork stage_file_proxy-3409100
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
Comment #4
smustgrave commentedDev 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.
Comment #5
herved commentedSee #3402972-11: Fetching does not respect use_imagecache_root when using converted webp image styles
Comment #6
smustgrave commentedReverted the cause issue.