Skip to content

#2162 Send credential headers from http.custom.headers only to the hosts in http.custom.headers.hosts - #2164

Open
rzo1 wants to merge 2 commits into
apache:mainfrom
rzo1:2162-scope-custom-credential-headers
Open

rzo1 wants to merge 2 commits into
apache:mainfrom
rzo1:2162-scope-custom-credential-headers

Conversation

@rzo1

@rzo1 rzo1 commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Fixes #2162. Depends on #2163 (stacked; review only the last commit until #2163 is merged).

Adds http.custom.headers.hosts. Credential headers in http.custom.headers (per http.credentials.headers) are sent only to listed hosts; other custom headers are unchanged.

Release note (breaking): credential headers in http.custom.headers without http.custom.headers.hosts are no longer sent; a WARN is logged at startup.

…in the new http.basicauth.hosts key and warn about credential headers in http.custom.headers.
…o the hosts listed in the new http.custom.headers.hosts key.
@rzo1 rzo1 added this to the 4.0.0 milestone Sep 15, 2026
@rzo1
rzo1 requested review from dpol1 and jnioche September 15, 2026 09:44
@rzo1 rzo1 self-assigned this Sep 15, 2026

@dpol1 dpol1 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scope credential headers in http.custom.headers to hosts

2 participants