Skip to content

Commit cc54022

Browse files
authored
Default for entity nameformat when not set should be uri (#1854)
This matches both the code, and the code comments, the documentation and the behaviour of 1.19 so it seems to be a bug due to refactoring.
1 parent b07c342 commit cc54022

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SimpleSAML/Metadata/SAMLBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ private function addExtensions(Configuration $metadata, RoleDescriptor $e): void
186186
} else {
187187
$attr[] = new Attribute(
188188
name: $attributeName,
189-
nameFormat: C::NAMEFORMAT_UNSPECIFIED,
189+
nameFormat: C::NAMEFORMAT_URI,
190190
attributeValue: $attrValues,
191191
);
192192
}

0 commit comments

Comments
 (0)