diff --git a/NEWS b/NEWS index 75a02735..a608270f 100644 --- a/NEWS +++ b/NEWS @@ -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 ----------------------- diff --git a/lasso/xml/saml-2.0/saml2_proxy_restriction.c b/lasso/xml/saml-2.0/saml2_proxy_restriction.c index c4b27784..557812c9 100644 --- a/lasso/xml/saml-2.0/saml2_proxy_restriction.c +++ b/lasso/xml/saml-2.0/saml2_proxy_restriction.c @@ -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} };