Empty Cache Tag Blacklist is saved as ''

Created on 29 May 2025, about 1 month ago

Problem/Motivation

Empty Cache Tag Blacklist is saved as valid value with ''. Because of that

Steps to reproduce

Save empty value at admin/config/services/cloudflare/purger page and save the form. All cache tags will gone, an empty cache_tag will send in the header.

The saved value will be:

edge_cache_tag_header_blacklist:
  - ''

Should be:

edge_cache_tag_header_blacklist: { }

Proposed resolution

Fix data saving.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇭🇺Hungary szato

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