What is the name of the domain?
eamda.eu
What is the issue you’re encountering
Duplicate HTTP headers are added
What steps have you taken to resolve the issue?
Removing and re-adding rules, varying the header in question, defining the host or selecting option “for all requests”.
What are the steps to reproduce the issue?
THE BUG MAY BE SPECIFIC TO THIS PARTICULAR ACCOUNT/DOMAIN. It does not occur on another account.
- Go to Response Header Transform Rules
- Create a Response Header Transform Rule
- Add a static header - for instance, “x-author = AUTHOR”, for all requests or by specifying the host name (http.host eq “www.domain.com”)
- Save the rule.
- Check the response headers using https://www.securityheaders.com
What is expected?
x-author = AUTHOR
What is observed:
x-author = AUTHOR
x-author = AUTHOR
For some headers (e.g., “Permissions-Policy”), the website even shows a warning about a duplicate header.
All headers added by these rules will be duplicated irrespective of their number.
The bug appears to be account/domain specific. I mirrored the configuration across two different Cloudflare accounts/domains, and only one is affected by the bug.