mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-08 08:38:16 -06:00
Issue #16934: Escape config-revision banner values by default
- Default to HTML-escaping banner values before displaying them - Also default to escaping banner values in config form previews - Escape names of dependent objects displayed when deleting parents
This commit is contained in:
parent
954d0cfcd0
commit
7ab0345450
@ -120,6 +120,17 @@ DEFAULT_PERMISSIONS = {
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## ESCAPE_BANNERS
|
||||||
|
|
||||||
|
Default: True
|
||||||
|
|
||||||
|
When disabled, banners will be displayed without first being HTML escaped for safety.
|
||||||
|
|
||||||
|
!!! info "Changed in NetBox v4.0.8"
|
||||||
|
Prior to NetBox v4.0.8, this setting was disabled by default.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## EXEMPT_VIEW_PERMISSIONS
|
## EXEMPT_VIEW_PERMISSIONS
|
||||||
|
|
||||||
Default: Empty list
|
Default: Empty list
|
||||||
|
Loading…
Reference in New Issue
Block a user