Skip to content

Commit be1a42f

Browse files
committed
Remove no_comments call from IdP
1 parent a071834 commit be1a42f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/Net/SAML2/IdP.pm

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package Net::SAML2::IdP;
22
use Moose;
33
use MooseX::Types::URI qw/ Uri /;
4-
use Net::SAML2::XML::Util qw/ no_comments /;
54

65
=head1 NAME
76
@@ -59,7 +58,7 @@ sub new_from_url {
5958

6059
my $res = $ua->request($req);
6160
die "no metadata" unless $res->is_success;
62-
my $xml = no_comments($res->content);
61+
my $xml = $res->content;
6362

6463
return $class->new_from_xml(xml => $xml, cacert => $args{cacert});
6564
}
@@ -75,7 +74,7 @@ sub new_from_xml {
7574
my($class, %args) = @_;
7675

7776
my $dom = XML::LibXML->load_xml(
78-
string => no_comments($args{xml}),
77+
string => $args{xml},
7978
no_network => 1,
8079
load_ext_dtd => 0,
8180
expand_entities => 0 );

0 commit comments

Comments
 (0)