SYN-141: Decode the query params as UTF-8

pull/19/head
Mark Haines 2014-11-18 17:17:57 +00:00
parent 54c438d8d3
commit db7e8b5619
1 changed files with 2 additions and 1 deletions

View File

@ -428,7 +428,8 @@ class TransportLayer(object):
self._with_authentication(
lambda origin, content, query, query_type:
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()}
)
)
)