Allow attributes with null values, see saml-core-2.0-os, section 2.7.3.1.1.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3349 44740490-163a-0410-bde0-09ae8108e29a
This commit is contained in:
parent
4d796e1805
commit
ecf4a82f78
|
@ -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;
|
||||
|
|
Reference in New Issue