Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow customizing trusted proxy header names #444

Merged
merged 1 commit into from
Aug 8, 2024

Conversation

Blacksmoke16
Copy link
Member

@Blacksmoke16 Blacksmoke16 commented Aug 8, 2024

Context

Not all proxies use the de-facto standard x-forwarded-* header names. E.g. CloudFront uses cloudfront-forwarded-proto. This PR enables the header names to be overridden for a specific ATH::Request::ProxyHeader to support this use case.

Changelog

  • Allow customizing trusted proxy header names

Before merging, remember to add the athena-framework/athena prefix to the PR number in the PR title

@Blacksmoke16 Blacksmoke16 added component:framework kind:enhancement New functionality to an existing feature labels Aug 8, 2024
@Blacksmoke16 Blacksmoke16 enabled auto-merge (squash) August 8, 2024 14:53
@Blacksmoke16 Blacksmoke16 merged commit f40f8c8 into master Aug 8, 2024
12 checks passed
@Blacksmoke16 Blacksmoke16 deleted the trusted-header-override branch August 8, 2024 14:53
PallasAthenaie pushed a commit to athena-framework/framework that referenced this pull request Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:framework kind:enhancement New functionality to an existing feature
Development

Successfully merging this pull request may close these issues.

1 participant