Do not redirect paths for aggregated assets (JS/CSS)

Created on 14 November 2023, about 1 year ago
Updated 29 November 2023, about 1 year ago

Problem/Motivation

With JS/CSS aggregation turned on, users that have access to disabled language, but are not superusers, see broken design.

Steps to reproduce

  1. Create non-default language and make it fallback language for the default language
  2. Disable default language
  3. Turn on CSS aggregation
  4. Log in as a user with "Access disabled language" permission
  5. Bingo

Proposed resolution

In DisabledLanguagesEventSubscriber::checkForDisabledLanguageAndRedirect(), do not perform checks when the current path is system CSS or JS aggregation

Remaining tasks

Write a patch

User interface changes

No

API changes

No

Data model changes

No

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡§πŸ‡¬Bulgaria valthebald Sofia

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024