From cfca00b5bac926d5719b4d25611c54fa6c32f05d Mon Sep 17 00:00:00 2001 From: Ian Young Date: Tue, 14 Feb 2017 10:17:10 +0000 Subject: [PATCH] Extend Location checks to ResponseLocation Resolves ukf/ukf-meta#117. --- mdx/_rules/check_idp_tls.xsl | 12 +++++++++++- mdx/_rules/check_misc.xsl | 13 +++++++++++++ mdx/_rules/check_saml2meta.xsl | 14 ++++++++++++++ mdx/_rules/check_sp_tls.xsl | 7 ++++++- 4 files changed, 44 insertions(+), 2 deletions(-) diff --git a/mdx/_rules/check_idp_tls.xsl b/mdx/_rules/check_idp_tls.xsl index bb6fa6dd..688956a4 100644 --- a/mdx/_rules/check_idp_tls.xsl +++ b/mdx/_rules/check_idp_tls.xsl @@ -27,10 +27,20 @@ Location does not start with https:// + + + ResponseLocation does not start with https:// + + Location does not start with https:// - + + + ResponseLocation does not start with https:// + + + diff --git a/mdx/_rules/check_misc.xsl b/mdx/_rules/check_misc.xsl index 1b498ab0..ec334f47 100644 --- a/mdx/_rules/check_misc.xsl +++ b/mdx/_rules/check_misc.xsl @@ -55,6 +55,19 @@ + + + + ResponseLocation contains space character + + + + + + + + + ResponseLocation is not a valid URL: + + + + + + diff --git a/mdx/_rules/check_sp_tls.xsl b/mdx/_rules/check_sp_tls.xsl index b68c9663..401740ad 100644 --- a/mdx/_rules/check_sp_tls.xsl +++ b/mdx/_rules/check_sp_tls.xsl @@ -27,5 +27,10 @@ Location does not start with https:// - + + + ResponseLocation does not start with https:// + + +