Add support for private images

Created on 26 June 2023, over 1 year ago
Updated 4 October 2023, about 1 year ago

Problem/Motivation

RouteSubscriber::alterRoutes() only applies to public images. It should also apply to private images.

Steps to reproduce

  1. Upload an image to private://.
  2. Browse to the URL of the image + .avif.
  3. It returns a 404 error.

Proposed resolution

RouteSubscriber::alterRoutes() should also alter the image.style_private controller.

Feature request
Status

Needs work

Version

1.0

Component

Code

Created by

🇫🇷France prudloff Lille

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024