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

Widen localhost filter checks to the request headers #86584

Open
InterstellarStella opened this issue Mar 7, 2025 · 4 comments
Open

Widen localhost filter checks to the request headers #86584

InterstellarStella opened this issue Mar 7, 2025 · 4 comments

Comments

@InterstellarStella
Copy link

Problem Statement

Currently, we only check an event's IP address and URL to see if it came from localhost, and to decide if it should be dropped through the inbound filter. The relevant code is here. Sometimes, an event might not include this information though, and may include it in the Host and X-Forwarded-Host request headers instead.

Solution Brainstorm

Make sure to check the Host and X-Forwarded-Host request headers as well when determining if an event should be filtered out because it comes from localhost.

Product Area

Processing

@getsantry
Copy link
Contributor

getsantry bot commented Mar 7, 2025

Assigning to @getsentry/support for routing ⏲️

@getsantry
Copy link
Contributor

getsantry bot commented Mar 7, 2025

Routing to @getsentry/product-owners-processing for triage ⏲️

@getsantry getsantry bot moved this from Waiting for: Support to Waiting for: Product Owner in GitHub Issues with 👀 3 Mar 7, 2025
@InterstellarStella
Copy link
Author

@loewenheim
Copy link
Contributor

Adding this to our triage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants