Skip to content

Conversation

@thjaeckle
Copy link
Member

  • making sure that it is not writen to external headers to not unintentionally leak authorization information (bearer token or basic auth)

@thjaeckle thjaeckle added this to the 3.8.7 milestone Nov 21, 2025
@thjaeckle thjaeckle added the bug label Nov 21, 2025
@thjaeckle thjaeckle requested a review from Copilot November 21, 2025 09:48
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds security protection by ensuring the "authorization" header is not written to external headers, preventing unintentional leakage of sensitive authentication information like bearer tokens or basic auth credentials.

  • Introduces the AUTHORIZATION header definition with internal-only scope
  • Updates test coverage to verify authorization header handling across multiple test scenarios

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
DittoHeaderDefinition.java Adds the AUTHORIZATION header definition configured to prevent external exposure
ImmutableDittoHeadersTest.java Adds test coverage for the new AUTHORIZATION header across existing test cases

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

…external headers

* making sure that it is not writen to external headers to not unintentionally leak authorization information (bearer token or basic auth)
@thjaeckle thjaeckle force-pushed the add-missing-authorization-header branch from b357dec to 65e831c Compare November 21, 2025 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants