Skip to content

fix: make middleware injection idempotent and header lookups case-insensitive#12

Merged
ernolf merged 1 commit into
mainfrom
ernolf/fix/idempotent-injection-and-lookups
Jul 18, 2026
Merged

fix: make middleware injection idempotent and header lookups case-insensitive#12
ernolf merged 1 commit into
mainfrom
ernolf/fix/idempotent-injection-and-lookups

Conversation

@ernolf

@ernolf ernolf commented Jul 18, 2026

Copy link
Copy Markdown
Owner
  • remove a possibly existing admin_audit_http_client stack entry before unshifting, so double decoration can no longer produce duplicate log entries; the integration test now asserts exactly one entry
  • rename the shadowed $handler variable in newClient() to $stack
  • find the Content-Length of the immediate-path check and the Host fallback in LogPathHelper case-insensitively

…ensitive

- remove a possibly existing admin_audit_http_client stack entry before unshifting, so double decoration can no longer produce duplicate log entries; the integration test now asserts exactly one entry
- rename the shadowed $handler variable in newClient() to $stack
- find the Content-Length of the immediate-path check and the Host fallback in LogPathHelper case-insensitively

Signed-off-by: ernolf <raphael.gradenwitz@googlemail.com>
@ernolf
ernolf merged commit 012158c into main Jul 18, 2026
36 checks passed
@ernolf
ernolf deleted the ernolf/fix/idempotent-injection-and-lookups branch July 18, 2026 19:58
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.

1 participant