Problem/Motivation
Where the redirect module installed, I've noticed that image styles were not being generated, i've tested using the local adapter.
Image style derivative requests are redirected with a 301 and fail to generate.
- Route normalizer (from Redirect module) detects the ambiguity
- It issues a 301 redirect to what it considers the "canonical" route
Steps to reproduce
Have redirect module installed and configure a filesystem with the local adapted.
Upload an image and test whether the thumbnail image style is generated.
Proposed resolution
Needs to setDefault _disable_route_normalizer = TRUE on the routes provided by flysystem.
OR disable Enforce clean and canonical URLs on the redirect module.
The _disable_route_normalizer = TRUE is the clean solution
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | flysystem-redirect-normalizer-bug-3610969.patch | 1.28 KB | j.b |
Issue fork flysystem-3610969
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 #2
j.b commentedComment #4
j.b commentedComment #5
lisa.rae commentedComment #6
lisa.rae commentedThis issue has been verified. The pipeline was failing due to a syntax error in your patch, so I pushed up a codefix on the MR to addresss that, along with an additional test to verify.
This was tested against the 3.0.x-dev version.
Please review and if approved, mark the issue as RTBC.
Note to myself, merge MR for 3611227 first, then rebase this MR to merge.
Comment #7
lisa.rae commented