We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In advanced settings, when setting the organization name to something including a & character:
&
'organization' => array ( 'en-US' => array( 'name' => 'Name & Name2', 'displayname' => 'Name & Name2', 'url' => 'https://some-url.com' ), ),
then fetching the SP metadata:
$samlSettings = new Settings($saml_settings); $metadata = $samlSettings->getSPMetadata();
I get an error: Error parsing metadata. Error parsing metadata from Saml2/Metadata.php:
Error parsing metadata. Error parsing metadata
Saml2/Metadata.php
try { $xml = Utils::loadXML($xml, $metadata); if (!$xml) { throw new Exception('Error parsing metadata'); } } catch (Exception $e) { throw new Exception('Error parsing metadata. '.$e->getMessage()); }
Changing the & character with & fixes it, so it seems like this string wasn't being escaped properly.
&
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In advanced settings, when setting the organization name to something including a
&
character:then fetching the SP metadata:
I get an error:
Error parsing metadata. Error parsing metadata
fromSaml2/Metadata.php
:Changing the
&
character with&
fixes it, so it seems like this string wasn't being escaped properly.The text was updated successfully, but these errors were encountered: