[PR #8153] [MERGED] Add missing HTTP_X_FORWARDED_FOR #13321

Closed
opened 2025-12-29 22:26:45 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/8153
Author: @davama
Created: 12/22/2021
Status: Merged
Merged: 12/22/2021
Merged by: @jeremystretch

Base: developHead: develop


📝 Commits (1)

  • 038d7e0 Add missing HTTP_X_FORWARDED_FOR

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 netbox/utilities/constants.py (+1 -0)

📄 Description

Fixes: #7887

See discussion here for background.

From the doc i should be able to access META.HTTP_X_FORWARDED_FOR but i was not able to since they were not being sent downstream


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/8153 **Author:** [@davama](https://github.com/davama) **Created:** 12/22/2021 **Status:** ✅ Merged **Merged:** 12/22/2021 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `develop` --- ### 📝 Commits (1) - [`038d7e0`](https://github.com/netbox-community/netbox/commit/038d7e0fa670405eb2c6b4c135a1453e7c994445) Add missing HTTP_X_FORWARDED_FOR ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `netbox/utilities/constants.py` (+1 -0) </details> ### 📄 Description ### Fixes: #7887 See discussion [here](https://github.com/netbox-community/netbox/discussions/7876) for background. From the [doc](https://netbox.readthedocs.io/en/stable/customization/custom-scripts/) i should be able to access `META.HTTP_X_FORWARDED_FOR` but i was not able to since they were not being sent downstream --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 22:26:45 +01:00
adam closed this issue 2025-12-29 22:26:45 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13321