Closed web-chenke closed 1 year ago
The user list API does not support Chinese search and reports a 400 error after Chinese search. Although the client transcodes the parameters and does not report a 400 error, the name field cannot be searched. English characters can search for data
API address: https://matrix.gptchat.fan/_synapse/admin/v2/users?order_by=creation_ts&dir=b&name=%25E5%25B0%258F%25E8%259C%259C%25E8%259C%2582&isShow=true&deactivated=false&limit=10
All three encoding processing methods are invalid: encodeURIComponent(chineseText); encodeURI(chineseText); escape(chineseText);
Is this a duplicate of https://github.com/matrix-org/synapse/issues/16370?
Seems like it.
The user list API does not support Chinese search and reports a 400 error after Chinese search. Although the client transcodes the parameters and does not report a 400 error, the name field cannot be searched. English characters can search for data
API address: https://matrix.gptchat.fan/_synapse/admin/v2/users?order_by=creation_ts&dir=b&name=%25E5%25B0%258F%25E8%259C%259C%25E8%259C%2582&isShow=true&deactivated=false&limit=10
All three encoding processing methods are invalid: encodeURIComponent(chineseText); encodeURI(chineseText); escape(chineseText);