summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBjörn Mattsson <bjorn@sunet.se>2022-03-25 09:56:24 +0100
committerBjörn Mattsson <bjorn@sunet.se>2022-03-25 09:56:24 +0100
commitde52b738962952448a9d9191b4992bf5fa3fcd76 (patch)
tree302d898754d2049c418f1b61f92e9b4acfe1e2a0 /Makefile
parent08e3cc26c24dfe572656f76d961bc81a3a6c700e (diff)
Removed check for www.geant.net/uri/dataprotection-code-of-conduct/v1 in PrivacyStatementURL.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 0 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index b3c7755a..ce20ed07 100644
--- a/Makefile
+++ b/Makefile
@@ -163,15 +163,6 @@ testGeantCoCo:
if ! echo "$$mdui_PrivacyStatementURL" | grep -q 'xml:lang="en"' ; then \
echo " Missing PrivacyStatementURL in english"'' ; \
fi ; \
- echo "$$mdui_PrivacyStatementURL" | sed 's/></>\n</g' | sed 's/.*\ \(xml:lang=.*\)>\(.*\)<.*/\1 \2/' | while read lang url ; do \
- if grep -qx "$$x" sp-with-coco-errors ; then \
- echo " Known bad link to CoCo in PrivacyStatementURL: $$x" 1>&2 ; \
- else \
- if ! grep -q "$$url $$lang $$mdui_PrivacyStatementURL" sp-with-once-ok-coco-link ; then \
- curl -A 'Mozilla' -s -L -m 5 "$$url" < /dev/null | grep "https*://www.geant.net/uri/dataprotection-code-of-conduct/v1" > /dev/null && echo "$$url $$lang $$mdui_PrivacyStatementURL" >> sp-with-once-ok-coco-link || echo " Missing link to geant.net/code-of-conduct/v1 in PrivacyStatementURL $$lang ($$url)" ; \
- fi ; \
- fi ; \
- done ; \
fi ; \
fi ; \
requestedAttribute=`cat $$x | sed 's;\(</*\)[a-z0-9]*:;\1;g' | sed 's/xmlns="[^"]*"//' | xmllint --xpath "/EntityDescriptor/SPSSODescriptor/AttributeConsumingService/RequestedAttribute" - 2>/dev/null | grep 'RequestedAttribute'` ; \