Default (.yml) settings do not apply.

Created on 28 January 2023, almost 2 years ago
Updated 3 November 2023, about 1 year ago

Problem/Motivation

Default .yml settings not honoured

I have installed v2.0.0 from scratch and I see that, according to the documentation, the values presents in the remove_http_headers.settings.yml should be applying by default and so should also appear on configuration page but they don't...

YML file content

headers_to_remove:
  - 'X-Generator'
  - 'X-Drupal-Dynamic-Cache'
  - 'X-Drupal-Cache'

Lack of reflection in the UI config form

Still identified

More importantly, unless you explicitly configure the module to do so by adding them into the configuration form and saving and clearing caches across the board, then the module DOES NOT remove Drupal from being identified in the <head>...

If have double checked this twice on my local development installation.

Still identifiable

Lastly, even when I do explicitly add the X-Generator...

Although the identification IS removed from the <head>, the well-known Wappalyzer Chrome plugin is still able to report that the site is Drupal 9...

Thanks

🐛 Bug report
Status

Closed: cannot reproduce

Version

2.0

Component

Miscellaneous

Created by

🇬🇧United Kingdom SirClickALot Somerset

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

Comments & Activities

  • Issue created by @SirClickALot
  • Status changed to Closed: cannot reproduce about 1 year ago
  • 🇷🇸Serbia rdamjanov

    I attempted to reproduce the issue, but I was unable to do so. The module works as intended and has been tested successfully on both Drupal 9.5 and 10.1 versions.

Production build 0.71.5 2024