[PR #4443] [CLOSED] Fixes #4442: Set X_FRAME_OPTIONS for Django 3.x #12848

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/4443
Author: @mtinberg
Created: 4/2/2020
Status: Closed

Base: develop-2.8Head: develop-2.8


📝 Commits (1)

📊 Changes

3 files changed (+11 additions, -0 deletions)

View changed files

📝 docs/configuration/optional-settings.md (+6 -0)
📝 netbox/netbox/configuration.example.py (+4 -0)
📝 netbox/netbox/settings.py (+1 -0)

📄 Description

Fixes: 4442

Add configuration option for X_FRAME_OPTIONS to settings.py as the defaults have changed in Django 3.x from SAMEORIGIN to DENY which prevents embedding Rack SVG objects


🔄 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/4443 **Author:** [@mtinberg](https://github.com/mtinberg) **Created:** 4/2/2020 **Status:** ❌ Closed **Base:** `develop-2.8` ← **Head:** `develop-2.8` --- ### 📝 Commits (1) - [`a825e97`](https://github.com/netbox-community/netbox/commit/a825e977cd34f650285e054eb0ee8926f962cd2a) Fixes #4442: Set X_FRAME_OPTIONS for Django 3.x ### 📊 Changes **3 files changed** (+11 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/configuration/optional-settings.md` (+6 -0) 📝 `netbox/netbox/configuration.example.py` (+4 -0) 📝 `netbox/netbox/settings.py` (+1 -0) </details> ### 📄 Description ### Fixes: 4442 Add configuration option for X_FRAME_OPTIONS to settings.py as the defaults have changed in Django 3.x from SAMEORIGIN to DENY which prevents embedding Rack SVG objects --- <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:23:57 +01:00
adam closed this issue 2025-12-29 22:23:57 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12848