saml icon indicating copy to clipboard operation
saml copied to clipboard

add input validation for xml with no root

Open symtor opened this issue 2 years ago • 0 comments

Fix for https://github.com/crewjam/saml/issues/468 : Responses may be valid XML documents with no root (e.g. only containing comments and/or whitespace). The etree.Root() function may return nil in this case, but the subsequent code does not support that and panics.

symtor avatar Dec 05 '22 12:12 symtor