my $xml = no_comments($xml);
Net::SAML2::XML::Util - XML Util class.
Returns the XML passed as plain XML with the comments removed
This is to remediate CVE-2017-11427 XML Comments can allow for authentication bypass in SAML2 implementations
Original Author: Chris Andrews <email@example.com>
This software is copyright (c) 2020 by Chris Andrews and Others; in detail:
Copyright 2019-2020 Timothy Legge
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.