File downloads restricted in disabled language depending on browser language

Created on 22 February 2019, almost 6 years ago
Updated 6 September 2023, over 1 year ago

Context:

Drupal 8 installation with languages:

  • EN
  • DE

DE is allowed for all users incl. anonymous. EN is restricted to admins.

When an anonymous users accesses a file path it happens that he gets a "Access denied" based on the browser language. The path is both the same, the only difference is the browser language header:
https://www.example.com/system/files/media/document/xyz.pdf
DE => PDF downloaded
EN => Access denied

Of cours there should be no difference between both, if he's on the German page.

This MIGHT be a core problem, but perhaps it's a problem on how this module works?

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇩🇪Germany Anybody Porta Westfalica

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.71.5 2024