aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2021-08-28 11:38:38 +0100
committerGravatar Chris Lovering <[email protected]>2021-08-28 11:38:38 +0100
commit2a83c5f8f7b9bfd60a50e67f20c04f31651bbcaa (patch)
treef7835ed7c727ddc73ae9d4e91536c8dba5e2b70c /tests/helpers.py
parentAdded bot variables tag (#1784) (diff)
Only check URL-like objects against domain filters
Previously a message such as 'https://google.com hello! flask.request.method' would be filtered due to us filtering the url shortener t.me. This commit changes to logic so that we only check parts of the messages that matched the URL regex against our blacklist, to avoid these false-positives.
Diffstat (limited to 'tests/helpers.py')
0 files changed, 0 insertions, 0 deletions