Skip to content

Commit dcdb4d2

Browse files
arthansonjeremystretch
authored andcommitted
12665 add semicolon to link sanitation safe string
1 parent 9b1406a commit dcdb4d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netbox/extras/models/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def render(self, context):
285285
text = clean_html(text, allowed_schemes)
286286

287287
# Sanitize link
288-
link = urllib.parse.quote(link, safe='/:?&=%+[]@#,')
288+
link = urllib.parse.quote(link, safe='/:?&=%+[]@#,;')
289289

290290
# Verify link scheme is allowed
291291
result = urllib.parse.urlparse(link)

0 commit comments

Comments
 (0)