diff options
author | Adam Jędrzejewski <59581316+adamjedrzejewski@users.noreply.github.com> | 2024-01-04 10:36:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-04 09:36:57 +0000 |
commit | c7d0d02be7bf61e58388676e9e31b44004cbf257 (patch) | |
tree | b1688310e7a17e34058e127b63e8a261550f5f2e /synapse/rest | |
parent | Update the contributing guide after reliecensing (#16772) (diff) | |
download | synapse-c7d0d02be7bf61e58388676e9e31b44004cbf257.tar.xz |
Search non ASCII display names using Admin API (#16767)
Closes #16370 Signed-off-by: Adam Jedrzejewski <adamjedrzejewski@icloud.com>
Diffstat (limited to 'synapse/rest')
-rw-r--r-- | synapse/rest/admin/users.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/admin/users.py b/synapse/rest/admin/users.py index a31a268ccc..ee73f0233d 100644 --- a/synapse/rest/admin/users.py +++ b/synapse/rest/admin/users.py @@ -107,7 +107,7 @@ class UsersRestServletV2(RestServlet): ) user_id = parse_string(request, "user_id") - name = parse_string(request, "name") + name = parse_string(request, "name", encoding="utf-8") guests = parse_boolean(request, "guests", default=True) if self._msc3861_enabled and guests: |