[PR #10205] [MERGED] #9963 change csrf token access #13578

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/10205
Author: @arthanson
Created: 8/30/2022
Status: Merged
Merged: 8/30/2022
Merged by: @jeremystretch

Base: developHead: 9963-csrftoken


📝 Commits (1)

📊 Changes

12 files changed (+27 additions, -65 deletions)

View changed files

📝 netbox/project-static/dist/config.js (+2 -8)
📝 netbox/project-static/dist/config.js.map (+2 -2)
📝 netbox/project-static/dist/lldp.js (+2 -8)
📝 netbox/project-static/dist/lldp.js.map (+2 -2)
📝 netbox/project-static/dist/netbox.js (+7 -13)
📝 netbox/project-static/dist/netbox.js.map (+2 -2)
📝 netbox/project-static/dist/status.js (+2 -8)
📝 netbox/project-static/dist/status.js.map (+2 -2)
📝 netbox/project-static/package.json (+0 -1)
📝 netbox/project-static/src/util.ts (+5 -14)
📝 netbox/project-static/yarn.lock (+0 -5)
📝 netbox/templates/base/base.html (+1 -0)

📄 Description

Fixes: #9963

Fixes CSRF access error - repro was on going to any table (Devices) and Configure table and doing the save on the dialog would produce this error which this change fixes.

Note: Mistakenly added and reverted this from #10170 so will need to update this branch after 10170 added and make sure these changes stick (as cherry-picked the changes so may have to un-revert them).


🔄 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/10205 **Author:** [@arthanson](https://github.com/arthanson) **Created:** 8/30/2022 **Status:** ✅ Merged **Merged:** 8/30/2022 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `9963-csrftoken` --- ### 📝 Commits (1) - [`cdea302`](https://github.com/netbox-community/netbox/commit/cdea30253bb0494e52ef801298648936a328a3e3) #101700 change csrf token access ### 📊 Changes **12 files changed** (+27 additions, -65 deletions) <details> <summary>View changed files</summary> 📝 `netbox/project-static/dist/config.js` (+2 -8) 📝 `netbox/project-static/dist/config.js.map` (+2 -2) 📝 `netbox/project-static/dist/lldp.js` (+2 -8) 📝 `netbox/project-static/dist/lldp.js.map` (+2 -2) 📝 `netbox/project-static/dist/netbox.js` (+7 -13) 📝 `netbox/project-static/dist/netbox.js.map` (+2 -2) 📝 `netbox/project-static/dist/status.js` (+2 -8) 📝 `netbox/project-static/dist/status.js.map` (+2 -2) 📝 `netbox/project-static/package.json` (+0 -1) 📝 `netbox/project-static/src/util.ts` (+5 -14) 📝 `netbox/project-static/yarn.lock` (+0 -5) 📝 `netbox/templates/base/base.html` (+1 -0) </details> ### 📄 Description <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be approved and assigned prior to filing a pull request. This helps avoid wasting time and effort on something that we might not be able to accept. Please indicate the assigned feature request or bug report below. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ISSUE WHICH HAS BEEN ASSIGNED TO YOU, IT WE BE CLOSED AUTOMATICALLY. For example: ### Fixes: #1234 --> ### Fixes: #9963 <!-- Please include a summary of the proposed changes below. --> Fixes CSRF access error - repro was on going to any table (Devices) and Configure table and doing the save on the dialog would produce this error which this change fixes. **Note**: Mistakenly added and reverted this from #10170 so will need to update this branch after 10170 added and make sure these changes stick (as cherry-picked the changes so may have to un-revert them). --- <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 23:19:40 +01:00
adam closed this issue 2025-12-29 23:19:40 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13578