diff options
author | Fredrik Domeij <fredrik.domeij@umu.se> | 2019-07-18 14:50:17 +0200 |
---|---|---|
committer | Fredrik Domeij <fredrik.domeij@umu.se> | 2019-07-18 14:50:17 +0200 |
commit | 915f323feba14eefc78f9a1fa81b494eeb7b7f18 (patch) | |
tree | 2003fe5a05c078544edf3dc20b10929351d35a85 /Makefile | |
parent | bbf883a1c8e7bc9c449fbf3d4d8b9d05d19a9408 (diff) |
mailto: added to contactemail where missing, and is now required
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -210,7 +210,7 @@ testEntCat: testValidContact: @echo "Checking for valid Contact Information" - @for x in swamid-2.0/*.xml ; do if ( cat $$x | sed 's;\(</*\)[a-z0-9]*:;\1;g' | sed 's/xmlns="[^"]*"//' | xmllint --xpath "/EntityDescriptor/ContactPerson" - 2>/dev/null | grep 'EmailAddress' | grep -qv ">mailto:") ; then echo "[1;31m Missing mailto in ContactPerson in file $$x [0m" ; fi done + @for x in swamid-2.0/*.xml ; do if ( cat $$x | sed 's;\(</*\)[a-z0-9]*:;\1;g' | sed 's/xmlns="[^"]*"//' | xmllint --xpath "/EntityDescriptor/ContactPerson" - 2>/dev/null | grep 'EmailAddress' | grep -qv ">mailto:") ; then echo "[1;31m Missing mailto in ContactPerson in file $$x [0m" ; fi ; done | grep . && exit 1 || true testSimpleSign: @echo "Check for new SP:s with SimpleSign (breaks ADFS IdP:s with Shib SP 2.5+)" |