diff options
author | Shay <shaysquared@gmail.com> | 2021-11-12 10:38:24 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-12 10:38:24 -0800 |
commit | 0bcae8ad56a64da72f278b4ec425d89c068b5df0 (patch) | |
tree | fb180bad1817783c55af293e21b4e4446c631a0e /changelog.d/11230.bugfix | |
parent | Add type hints to media repository storage module (#11311) (diff) | |
download | synapse-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 'changelog.d/11230.bugfix')
-rw-r--r-- | changelog.d/11230.bugfix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/changelog.d/11230.bugfix b/changelog.d/11230.bugfix new file mode 100644 index 0000000000..b2d6d4d024 --- /dev/null +++ b/changelog.d/11230.bugfix @@ -0,0 +1,2 @@ +Fix a long-standing bug wherein display names or avatar URLs containing null bytes cause an internal server error +when stored in the DB. \ No newline at end of file |