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:
jaimepc@gmail.com 2014-02-02 18:54:02 +00:00
parent 4d796e1805
commit ecf4a82f78
1 changed files with 6 additions and 0 deletions

View File

@ -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;