From 6a1b870472546978fe4611154d39213234fb00d5 Mon Sep 17 00:00:00 2001
From: Guillaume Rousse <guillaume.rousse@renater.fr>
Date: Fri, 3 Nov 2017 14:10:33 +0100
Subject: [PATCH] no need to retain raw XML

---
 lib/IdPAccountManager/SAMLMetadata.pm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/lib/IdPAccountManager/SAMLMetadata.pm b/lib/IdPAccountManager/SAMLMetadata.pm
index 2045f0b..7fb170c 100644
--- a/lib/IdPAccountManager/SAMLMetadata.pm
+++ b/lib/IdPAccountManager/SAMLMetadata.pm
@@ -55,9 +55,6 @@ sub parse {
         next if ($args{entity_id}
             && ($args{entity_id} ne $data->{entityid}));
 
-        $data->{xml_md} =
-          IdPAccountManager::Tools::escape_xml($EntityDescriptor->toString());
-
         foreach my $child ($EntityDescriptor->childNodes()) {
 
             ## Ignoringnodes of type XML::LibXML::Text or XML::LibXML::Comment
-- 
GitLab