Open niudin opened 1 year ago
Exception is from
and I would guess this comes from
though I cannot say for certain without server side logs.
I would guess that passing encoding="utf-8"
would suffice here, like we do in
(Does it make sense to interpret query parameters as utf-8 by default?)
If anyone wants to try this:
GET /_synapse/admin/v2/users?name=....
with the displayname you choseencoding=utf-8
to the parse_string
call for name
I highlighted above.Thank you very much, I solved it according to your method
Another question is, can I limit the number of registrations with the same IP? I looked in the database and it seems that the registered IPs are not stored in a separate table.
Thank you very much, I solved it according to your method
Would you mind contributing back a pull request with the improvements?
I searched for Chinese nicknames in the background and reported an error. {errcode: "M_UNKNOWN", error: "Query parameter 'name' must be ascii"} errcode : "M_UNKNOWN" error : "Query parameter 'name' must be ascii"