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

Issue fork flysystem-3610969

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

j.b created an issue. See original summary.

j.b’s picture

Issue summary: View changes

j.b’s picture

lisa.rae’s picture

Assigned: Unassigned » lisa.rae
lisa.rae’s picture

Status: Active » Needs review

This 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.

lisa.rae’s picture

Version: 3.0.0-beta1 » 3.0.x-dev