Fix download route when installed with the redirect module

Created on 21 February 2018, over 6 years ago
Updated 12 April 2024, 2 months ago

Problem/Motivation

This module currently doesn't work when installed alongside the redirect module. In redirect's RouteSubscriber it sets a flag for routes similar to file_encrypt's (i.e image styles and private files) called _disable_route_normalizer which seems to make sure redirect doesn't mess with the route too much. We need the same on file_encrypt's route.

Without this, redirect sends the user to /encrypt/files and strips off the file query parameter, resulting in a 403.

πŸ› Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia acbramley

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024