Skip to content

Comments

Conditionally copy Strict-Transport-Security#2306

Merged
Tratcher merged 1 commit intomainfrom
tratcher/sts
Nov 9, 2023
Merged

Conditionally copy Strict-Transport-Security#2306
Tratcher merged 1 commit intomainfrom
tratcher/sts

Conversation

@Tratcher
Copy link
Member

@Tratcher Tratcher commented Nov 8, 2023

Fixes #2269

We'd previously received feedback about duplicate STS headers when provided by both the proxy and destination. We over-reacted and always blocked the STS header, breaking other users. This change partially reverts that to only copy the STS header if one isn't already present.

@davidni

@Tratcher Tratcher added this to the YARP 2.1 milestone Nov 8, 2023
@Tratcher Tratcher self-assigned this Nov 8, 2023
@Tratcher Tratcher requested a review from MihaZupan as a code owner November 8, 2023 19:26
@Tratcher Tratcher merged commit e8088b4 into main Nov 9, 2023
@Tratcher Tratcher deleted the tratcher/sts branch November 9, 2023 18:04
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.

Revisit Strict-Transport-Security

2 participants