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) {