flake8
passed.
JSHint
passed.
Review Request #14630 — Created Nov. 28, 2025 and updated
djblets.http.get_http_request_ipreturns the IP address stored in the
theX-Real-IPorX-Forwarded-Forheaders (if available), falling
back to the raw client IP address if needed.Since this operates off of HTTP headers, it's up to the configured
servers to ensure any client-provided headers are stripped out and that
these are set to trusted values.
Unit tests pass.
| Summary | ID |
|---|---|
| af98fe0b724bc04dcd0e1e9973242c40240f0fdb |
| Description | From | Last Updated |
|---|---|---|
|
Please add a module docstring. |
|