providers/saml: cleanup encoding

This commit is contained in:
Jens Langhammer
2020-02-20 21:33:10 +01:00
parent d06f1abb89
commit 38a22ddf13
2 changed files with 8 additions and 8 deletions

View File

@ -144,7 +144,7 @@ class Processor:
def _decode_and_parse_request(self):
"""Parses various parameters from _request_xml into _request_params."""
decoded_xml = decode_base64_and_inflate(self._saml_request).decode("utf-8")
decoded_xml = decode_base64_and_inflate(self._saml_request)
root = ElementTree.fromstring(decoded_xml)