From 17089391fbabba99e963270e9f053045a8b63e8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no> Date: Tue, 16 Jun 2009 09:53:27 +0000 Subject: [PATCH] Allow white characters preceeding and proceeding Issuer in request. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1523 44740490-163a-0410-bde0-09ae8108e29a --- lib/SimpleSAML/XML/SAML20/AuthnRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/SimpleSAML/XML/SAML20/AuthnRequest.php b/lib/SimpleSAML/XML/SAML20/AuthnRequest.php index d7bf991be..261d7dfcc 100644 --- a/lib/SimpleSAML/XML/SAML20/AuthnRequest.php +++ b/lib/SimpleSAML/XML/SAML20/AuthnRequest.php @@ -84,7 +84,7 @@ class SimpleSAML_XML_SAML20_AuthnRequest { if ($issuerNodes = $dom->getElementsByTagName('Issuer')) { if ($issuerNodes->length > 0) { - $issuer = $issuerNodes->item(0)->textContent; + $issuer = trim($issuerNodes->item(0)->textContent); } } return $issuer; -- GitLab