We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a071834 commit be1a42fCopy full SHA for be1a42f
lib/Net/SAML2/IdP.pm
@@ -1,7 +1,6 @@
1
package Net::SAML2::IdP;
2
use Moose;
3
use MooseX::Types::URI qw/ Uri /;
4
-use Net::SAML2::XML::Util qw/ no_comments /;
5
6
=head1 NAME
7
@@ -59,7 +58,7 @@ sub new_from_url {
59
58
60
my $res = $ua->request($req);
61
die "no metadata" unless $res->is_success;
62
- my $xml = no_comments($res->content);
+ my $xml = $res->content;
63
64
return $class->new_from_xml(xml => $xml, cacert => $args{cacert});
65
}
@@ -75,7 +74,7 @@ sub new_from_xml {
75
74
my($class, %args) = @_;
76
77
my $dom = XML::LibXML->load_xml(
78
- string => no_comments($args{xml}),
+ string => $args{xml},
79
no_network => 1,
80
load_ext_dtd => 0,
81
expand_entities => 0 );
0 commit comments