Skip to content
Snippets Groups Projects
Commit 79be36ac authored by Jaime Pérez Crespo's avatar Jaime Pérez Crespo
Browse files

Allow attributes with null values, see saml-core-2.0-os, section 2.7.3.1.1.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3349 44740490-163a-0410-bde0-09ae8108e29a
parent a73c8a0f
No related branches found
No related tags found
No related merge requests found
......@@ -684,6 +684,12 @@ class sspmod_saml_IdP_SAML2 {
}
foreach ($values as $value) {
// allow null values
if ($value === null) {
$ret[$name][] = $value;
continue;
}
switch ($encoding) {
case 'string':
$value = (string)$value;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment