Skip to content

Strip forwarded headers at proxy boundary#361

Open
ioquatix wants to merge 1 commit into
mainfrom
strip-forwarded-headers
Open

Strip forwarded headers at proxy boundary#361
ioquatix wants to merge 1 commit into
mainfrom
strip-forwarded-headers

Conversation

@ioquatix

Copy link
Copy Markdown
Member

Summary

  • Strip inbound forwarding/provenance headers before Falcon adds its own proxy-derived values.
  • Add an overridable prepare_forwarded_headers hook for deployments that need to preserve or transform trusted upstream headers.
  • Cover default stripping and override behavior in proxy middleware tests.

Tests

  • bundle exec sus test/falcon/middleware/proxy.rb

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