mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
SYN-141: Decode the query params as UTF-8
This commit is contained in:
parent
54c438d8d3
commit
db7e8b5619
@ -428,7 +428,8 @@ class TransportLayer(object):
|
|||||||
self._with_authentication(
|
self._with_authentication(
|
||||||
lambda origin, content, query, query_type:
|
lambda origin, content, query, query_type:
|
||||||
handler.on_query_request(
|
handler.on_query_request(
|
||||||
query_type, {k: v[0] for k, v in query.items()}
|
query_type,
|
||||||
|
{k: v[0].decode("utf-8") for k, v in query.items()}
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user