summary refs log tree commit diff
path: root/synapse/config/ratelimiting.py
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-10-29 17:43:18 +0000
committerKegan Dougal <kegan@matrix.org>2014-10-29 17:44:57 +0000
commit0f192579ac9262ae07eeb0865a8565c37326e968 (patch)
tree2654ec7a7f25402aff8c8b6b85bf3f974c093305 /synapse/config/ratelimiting.py
parentUse floating-point rather than integer division to handle timeouts so that no... (diff)
downloadsynapse-0f192579ac9262ae07eeb0865a8565c37326e968.tar.xz
SYWEB-48: Better regex for binging on usernames.
This uses /\blocalpart\b|\bdisplayname\b/i which is overall a lot
better than before. This specifically gets @localpart references
which the bug was originally for.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions