- Notifications
You must be signed in to change notification settings - Fork294
Closed
Labels
Description
While trying to sanitizeu'<html><body><audio controls="" src="data:foobar"></audio></body></html>'
I get an AttributeError exception In HTMLSanitizerMixin line 218
215:m=content_type_rgx.match(uri.path)216:ifnotm:217:delattrs[attr]218:ifm.group('content_type')notinself.allowed_content_types:delattrs[attr]
Line 215 returns None , but in line 218 m is assumed to be None
Carlos