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

Support IP address detection from X-Forwarded-For #232

Open
brianhelba opened this issue Sep 8, 2021 · 0 comments
Open

Support IP address detection from X-Forwarded-For #232

brianhelba opened this issue Sep 8, 2021 · 0 comments
Assignees

Comments

@brianhelba
Copy link
Contributor

brianhelba commented Sep 8, 2021

This header is set by Heroku and other reverse proxies.

Respecting its value is critical to ensuring that HttpRequest.META.REMOTE_ADDR is set properly (which in turn, impacts things like Sentry error reporting).

When the header contains a list of addresses, it's important that the last element be used; see this and this.


Several third-party options for a fix:

@brianhelba brianhelba self-assigned this Sep 8, 2021
@brianhelba brianhelba transferred this issue from kitware-resonant/django-composed-configuration Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant