Fix parsing of Count attribute of saml:ProxyRestriction (#69673)

This commit is contained in:
Benjamin Dauvergne 2022-09-28 18:18:36 +02:00
parent f83d02f314
commit 3a7ad3610f
2 changed files with 7 additions and 1 deletions

6
NEWS
View File

@ -1,6 +1,12 @@
NEWS
====
2.81. - to be release
---------------------
- fix wrong parsing of Count attribute on saml:ProxyRestriction, thanks to
Maxime Besson from Worteks.
2.8.0 - March 15th 2022
-----------------------

View File

@ -53,7 +53,7 @@
static struct XmlSnippet schema_snippets[] = {
{ "Audience", SNIPPET_CONTENT,
G_STRUCT_OFFSET(LassoSaml2ProxyRestriction, Audience), NULL, NULL, NULL},
{ "Count", SNIPPET_CONTENT,
{ "Count", SNIPPET_ATTRIBUTE,
G_STRUCT_OFFSET(LassoSaml2ProxyRestriction, Count), NULL, NULL, NULL},
{NULL, 0, 0, NULL, NULL, NULL}
};