Configuration overrides are not applied due to use of editable configuration for getting headers

Created on 5 March 2024, 9 months ago

Problem/Motivation

I dont want to remove some debugging headers on development environments so I conditionally override it in settings.php.

Steps to reproduce

Try adding to settings.php:

$config['remove_http_headers.settings']['headers_to_remove'] = ['any-header'];

Proposed resolution

Use ImmutableConfig for getting headers to remove.

🐛 Bug report
Status

Active

Version

2.1

Component

Code

Created by

🇷🇸Serbia holo96

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