Skip to content

Hide server version header from unauthenticated requests#59

Merged
arrdalan merged 1 commit intomainfrom
hide-server-version
Apr 15, 2026
Merged

Hide server version header from unauthenticated requests#59
arrdalan merged 1 commit intomainfrom
hide-server-version

Conversation

@jkaczman
Copy link
Copy Markdown
Collaborator

In main, we currently include the X-Server-Version response header on all requests, including unauthenticated ones. This exposes unnecessary information. This PR redacts that header for unauthenticated requests.

@jkaczman jkaczman requested a review from arrdalan April 11, 2026 20:10
@jkaczman jkaczman changed the title fix(server): hide server version header from unauthenticated requests Hide server version header from unauthenticated requests Apr 14, 2026
Copy link
Copy Markdown
Collaborator

@arrdalan arrdalan left a comment

Choose a reason for hiding this comment

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

Looks good.

@arrdalan arrdalan merged commit ae3e13e into main Apr 15, 2026
@jkaczman jkaczman deleted the hide-server-version branch April 19, 2026 23:05
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.

2 participants