From fad2b3f76e581f0971d81f1506a7e6ece757e565 Mon Sep 17 00:00:00 2001 From: Ian Young Date: Tue, 10 May 2016 09:39:43 +0000 Subject: [PATCH] Rework approach to non-TLS mdui:Logo elements. Although these are still rejected as errors for UKf registration, importing an mdui:Logo from an http:// URL causes the Logo element to be removed rather than causing a rejection. The result for the UKf is still that these are not republished to avoid mixed content errors, but an entity which *only* has this mistake is still imported albeit without its logo being available in discovery interfaces. --- mdx/common-beans.xml | 34 ++++++++++++++++++++++--- mdx/int_edugain/verbs.xml | 6 ++++- mdx/strip-mdui-logo-http.xsl | 49 ++++++++++++++++++++++++++++++++++++ 3 files changed, 84 insertions(+), 5 deletions(-) create mode 100644 mdx/strip-mdui-logo-http.xsl diff --git a/mdx/common-beans.xml b/mdx/common-beans.xml index 447f94e0..ebff731f 100644 --- a/mdx/common-beans.xml +++ b/mdx/common-beans.xml @@ -576,6 +576,22 @@ + + + + + + #{T(net.shibboleth.metadata.ErrorStatus)} + + + + @@ -641,13 +657,14 @@ - + @@ -813,6 +830,14 @@ + + + @@ -125,7 +128,8 @@ - + + diff --git a/mdx/strip-mdui-logo-http.xsl b/mdx/strip-mdui-logo-http.xsl new file mode 100644 index 00000000..50702a53 --- /dev/null +++ b/mdx/strip-mdui-logo-http.xsl @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + mdui:Logo from non-TLS location removed: ' + + ' + + + + + + + + + + + + + + + + + +