mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 19:04:55 -04:00
Do not use canonicaljson to magically handle decoding bytes from JSON. (#7802)
This commit is contained in:
parent
d9e47af617
commit
66a4af8d96
7 changed files with 17 additions and 28 deletions
|
@ -104,7 +104,7 @@ class CasHandler:
|
|||
return user, displayname
|
||||
|
||||
def _parse_cas_response(
|
||||
self, cas_response_body: str
|
||||
self, cas_response_body: bytes
|
||||
) -> Tuple[str, Dict[str, Optional[str]]]:
|
||||
"""
|
||||
Retrieve the user and other parameters from the CAS response.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue