Skip to content

Commit

Permalink
Change ALLOWED_PROTOCOLS list addtion to frozenset union
Browse files Browse the repository at this point in the history
  • Loading branch information
tym-xqo committed Sep 17, 2023
1 parent e719286 commit 16a68ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mezzanine/utils/html.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def escape(html):
strip=True,
strip_comments=False,
css_sanitizer=css_sanitizer,
protocols=ALLOWED_PROTOCOLS + ["tel"],
protocols=ALLOWED_PROTOCOLS.union(frozenset(["tel"])),
)


Expand Down

0 comments on commit 16a68ec

Please sign in to comment.