summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--swamid-2.0/idp.his.se-idp-shibboleth.xml2
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9441db91..49201279 100644
--- a/Makefile
+++ b/Makefile
@@ -128,6 +128,8 @@ committest: test
@for x in `find $(SRCDIRS) -name \*.xml`; do if cat $$x | sed 's;\(</*\)[a-z0-9]*:;\1;g' | xmllint --xpath /EntityDescriptor/IDPSSODescriptor/Extensions/EntityAttributes - 2>/dev/null | grep -q entity-category ; then echo " $$x" ; fi ; done | grep . && exit 1 || true
@echo "Checking for MDUI in EntityDescriptor/Extensions"
@for x in `find $(SRCDIRS) -name \*.xml`; do if cat $$x | sed 's;\(</*\)[a-z0-9]*:;\1;g' | xmllint --xpath /EntityDescriptor/Extensions/UIInfo - 2>/dev/null | grep -q . ; then echo " $$x" ; fi ; done | grep . && exit 1 || true
+ @echo "Checking for invalid geodata"
+ @for x in `find $(SRCDIRS) -name \*.xml`; do if cat $$x | sed -n 's;.*<[a-z0-9:]*GeolocationHint>\(.*\)</[a-z0-9:]*GeolocationHint>;\1;p' | grep -q -vE '^$$|^geo:[0-9][0-9][0-9.]*,[0-9][0-9][0-9.]*$$' ; then echo " $$x" ; fi ; done | grep . && exit 1 || true
commit: tidy committest
@git diff --color
diff --git a/swamid-2.0/idp.his.se-idp-shibboleth.xml b/swamid-2.0/idp.his.se-idp-shibboleth.xml
index 4834130d..a9d9d9c3 100644
--- a/swamid-2.0/idp.his.se-idp-shibboleth.xml
+++ b/swamid-2.0/idp.his.se-idp-shibboleth.xml
@@ -22,7 +22,7 @@
<mdui:IPHint>212.25.128.0/23</mdui:IPHint>
<mdui:IPHint>212.25.134.0/23</mdui:IPHint>
<mdui:GeolocationHint>geo:58.39,13.85</mdui:GeolocationHint>
- <mdui:GeolocationHint>geo:58,39412,13,85542</mdui:GeolocationHint>
+ <mdui:GeolocationHint>geo:58.39412,13.85542</mdui:GeolocationHint>
</mdui:DiscoHints>
</Extensions>
<KeyDescriptor>