From 1631a50d53165288b1bdef5f8ca1a7fd5558507e Mon Sep 17 00:00:00 2001
From: Tim van Dijen <tvdijen@gmail.com>
Date: Tue, 18 Oct 2022 11:58:56 +0200
Subject: [PATCH] Fix double quoted entityID

---
 modules/saml/src/IdP/SAML2.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/saml/src/IdP/SAML2.php b/modules/saml/src/IdP/SAML2.php
index 54ff1a12e..13906414b 100644
--- a/modules/saml/src/IdP/SAML2.php
+++ b/modules/saml/src/IdP/SAML2.php
@@ -152,7 +152,7 @@ class SAML2
         /** @var \SimpleSAML\Module\saml\Error $error */
         $error = \SimpleSAML\Module\saml\Error::fromException($exception);
 
-        Logger::warning("Returning error to SP with entity ID '" . var_export($spEntityId, true) . "'.");
+        Logger::warning(sprintf("Returning error to SP with entity ID %s.", var_export($spEntityId, true)));
         $exception->log(Logger::WARNING);
 
         $ar = self::buildResponse($idpMetadata, $spMetadata, $consumerURL);
-- 
GitLab