-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
NetBox version
v3.51
Python version
3.8
Steps to Reproduce
- Customization -> Custom Links -> Entry -> Link URL
- ; changed to %03B when following link.
Expected Behavior
Render ';' instead of %3B.
Observed Behavior
; is changed to %3B.
Sanitization on the custom link rendering added in 89fa546 prevents '';" in URL. Adding ';' into allowed list resolves issue.
# Sanitize link
- link = urllib.parse.quote_plus(link, safe='/:?&=%+[]@#')
+ link = urllib.parse.quote_plus(link, safe='/:?&=%+[]@#;')Metadata
Metadata
Assignees
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application