stephenmcd / mezzanine

CMS framework for Django
http://mezzanine.jupo.org
BSD 2-Clause "Simplified" License
4.75k stars 1.64k forks source link

Change ALLOWED_PROTOCOLS list addtion to frozenset union #2064

Closed tym-xqo closed 11 months ago

tym-xqo commented 11 months ago

In utils/html.py line 113 attempts to add ["tel"] to ALLOWED_PROTOCOLS which results in unsupported operand type(s) for +: 'frozenset' and 'list' error whenever called. This fix converts the list to another frozenset and unions them.

tym-xqo commented 11 months ago

wait sorry -- there is already a PR that does this. I shoulda looked. Closing this