summary refs log tree commit diff
path: root/synapse/handlers/directory.py
diff options
context:
space:
mode:
authorShay <shaysquared@gmail.com>2021-11-12 10:38:24 -0800
committerGitHub <noreply@github.com>2021-11-12 10:38:24 -0800
commit0bcae8ad56a64da72f278b4ec425d89c068b5df0 (patch)
treefb180bad1817783c55af293e21b4e4446c631a0e /synapse/handlers/directory.py
parentAdd type hints to media repository storage module (#11311) (diff)
downloadsynapse-0bcae8ad56a64da72f278b4ec425d89c068b5df0.tar.xz
Change display names/avatar URLs to None if they contain null bytes before storing in DB (#11230)
* change display names/avatar URLS to None if they contain null bytes

* add changelog

* add POC test, requested changes

* add a saner test and remove old one

* update test to verify that display name has been changed to None

* make test less fragile
Diffstat (limited to 'synapse/handlers/directory.py')
0 files changed, 0 insertions, 0 deletions