diff options
author | Björn Mattsson <bjorn@sunet.se> | 2023-12-08 18:02:36 +0100 |
---|---|---|
committer | Björn Mattsson <bjorn@sunet.se> | 2023-12-08 18:02:36 +0100 |
commit | 51660272bf7186851535276ac33de754fd6ec45a (patch) | |
tree | e72b4a55e6b212881660e4d55be4d09c49c7ae1a /metadata | |
parent | 7c21eba1bf6dac3d48d4d435a19eb3a80ba2e5aa (diff) |
Added check for emty XML-tags. Breaks some SAML implementations
Diffstat (limited to 'metadata')
-rw-r--r-- | metadata/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/metadata/Makefile b/metadata/Makefile index 3637b561..06e2eae7 100644 --- a/metadata/Makefile +++ b/metadata/Makefile @@ -54,6 +54,7 @@ testALlevel: testBadStrings: @echo "Check for bad strings in metadata" @for x in `find $(SRCDIRS) -name \*.xml`; do grep -E 'ServiceName xml:lang="[^"]*"/>' $$x | sed 's/^/ /' ; done | grep . && exit 1 || exit 0 + @for x in $(SRCDIRS); do grep -n '/>' $$x/*.xml | grep -v '<.* .*/>' ; done | grep . && exit 1 || exit 0 testRegistrationAuthority: @echo "Check for registrationAuthority="http://www.swamid.se/" in EntityDescriptor/Extensions" |