issue-tracker: fixed XSS in the newly generated description fields.

This commit is contained in:
Marcin Kuzminski 2020-05-25 07:40:45 +00:00
parent 57f638e62f
commit 7324cb3270

View file

@ -1492,7 +1492,7 @@ def _process_url_func(match_obj, repo_name, uid, entry,
'id-repr': issue_id,
'issue-prefix': entry['pref'],
'serv': entry['url'],
'title': desc,
'title': bleach.clean(desc, strip=True),
'hovercard_url': hovercard_url
}