stephenmcd / mezzanine

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

TypeError: unsupported operand type(s) for +: 'frozenset' and 'list' #2056

Closed tombakas closed 1 year ago

tombakas commented 1 year ago

Version 6.0.0 of mozilla/bleach converts ALLOWED_PROTOCOLS to a frozen set. Therefore, the concatenation of ALLOWED_PROTOCOLS with ["tel"] causes a TypeError.

This can either be fixed by pinning the version to <6.0.0 or converting ALLOWED_PROTOCOLS to a list. Any preference? I can create a PR for this.

tombakas commented 1 year ago

Just realized this was already filed.

molokov commented 1 year ago

See #2054