摘要:
# https://github.com/phith0n/python-xss-filterimport re import copy from html.parser import HTMLParser class XSSHtml(HTMLParser): allow_tags = ['a', 'img', 'br', 'strong', 'b', 'code', 'pre', ... 阅读全文
摘要:
# https://github.com/phith0n/python-xss-filterimport re import copy from html.parser import HTMLParser class XSSHtml(HTMLParser): allow_tags = ['a', 'img', 'br', 'strong', 'b', 'code', 'pre', ... 阅读全文
|