Filter user bio

merge-requests/30/head
Bob Mottram 2020-12-19 12:47:43 +00:00
parent a7d5c50222
commit 2e1efdbee8
1 changed files with 14 additions and 12 deletions

View File

@ -4174,6 +4174,8 @@ class PubServer(BaseHTTPRequestHandler):
if fields.get('bio'):
if fields['bio'] != actorJson['summary']:
bioStr = removeHtml(fields['bio'])
if not isFiltered(baseDir,
nickname, domain, bioStr):
actorTags = {}
actorJson['summary'] = \
addHtmlTags(baseDir,