Jinja2 condition not working anymore in Custom Link URL field #12694
Labels
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
NetBox version
v3.5.2
Python version
3.9
Steps to Reproduce
Expected Behavior
According to my object tenant id, it should open a webpage on google.com or duduckgo.com when clicking on the custom link button.
Observed Behavior
Instead, I got the following error:
This behaviour seems related to the feature "Sanitize rendered custom link HTML" #12205 .
In fact, when removing the code added in the commit 89fa546, the expected behavior happens.
Thank you for your help.
The text was updated successfully, but these errors were encountered: