Closes #6921: Employ a sandbox when rendering Jinja2 code for increased security

This commit is contained in:
jeremystretch
2021-08-10 20:52:45 -04:00
parent 9b4374a32b
commit 559e30102f
5 changed files with 13 additions and 3 deletions

View File

@@ -17,6 +17,9 @@ When viewing a device named Router4, this link would render as:
Custom links appear as buttons at the top right corner of the page. Numeric weighting can be used to influence the ordering of links.
!!! warning
Custom links rely on user-created code to generate arbitrary HTML output, which may be dangerous. Only grant permission to create or modify custom links to trusted users.
## Context Data
The following context data is available within the template when rendering a custom link's text or URL.