From 3bdcd5c7e0e8246cb12b81bc453c0b286cdb627f Mon Sep 17 00:00:00 2001 From: Terry Fleury Date: Sat, 2 Jan 2021 20:08:14 -0600 Subject: [PATCH] Fix email for Attribute Release Problem. Need to remove quote characters. --- src/Service/Content.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Service/Content.php b/src/Service/Content.php index 8d0eaf1..58cf01e 100644 --- a/src/Service/Content.php +++ b/src/Service/Content.php @@ -1697,7 +1697,7 @@ public static function printSAMLAttributeReleaseErrorPage( '&body=Hello, I am having trouble logging on to ' . 'https://' . DEFAULT_HOSTNAME . '/ using the ' . $idp_display_name . ' Identity Provider (IdP) ' . - ((strlen($portalname) > 0) ? 'with "' . htmlspecialchars($portalname) . '" ' : '') . + ((strlen($portalname) > 0) ? 'with ' . strip_tags($portalname) . ' ' : '') . 'due to the following missing attributes:%0D%0A' . $missingattrs; if ($student) {