Skip to content

Remove the forwarded and x-forwarded-host headers#5409

Merged
segiddins merged 1 commit into
masterfrom
segiddins/remove-the-forwarded-and-x-forwarded-host-headers
Jan 24, 2025
Merged

Remove the forwarded and x-forwarded-host headers#5409
segiddins merged 1 commit into
masterfrom
segiddins/remove-the-forwarded-and-x-forwarded-host-headers

Conversation

@segiddins

Copy link
Copy Markdown
Contributor

We are already setting the Host header properly in the request to the rails app

Prevents malicious redirects & their being cached

Signed-off-by: Samuel Giddins segiddins@segiddins.me

We are already setting the Host header properly in the request to the rails app

Prevents malicious redirects & their being cached

Signed-off-by: Samuel Giddins <segiddins@segiddins.me>
@segiddins segiddins enabled auto-merge (squash) January 24, 2025 18:52
@codecov

codecov Bot commented Jan 24, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.06%. Comparing base (20dec0e) to head (853b119).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5409   +/-   ##
=======================================
  Coverage   97.06%   97.06%           
=======================================
  Files         451      451           
  Lines        9391     9391           
=======================================
  Hits         9115     9115           
  Misses        276      276           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@segiddins segiddins merged commit e50cfbe into master Jan 24, 2025
@segiddins segiddins deleted the segiddins/remove-the-forwarded-and-x-forwarded-host-headers branch January 24, 2025 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants