From 83ae55b5b9415db0175e56ecccff26664a7f1d90 Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Thu, 10 Jul 2008 08:39:49 +0000
Subject: [PATCH] Shib13: Include correct namespace in generated metadata.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@778 44740490-163a-0410-bde0-09ae8108e29a
---
 www/shib13/idp/metadata.php | 2 +-
 www/shib13/sp/metadata.php  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/shib13/idp/metadata.php b/www/shib13/idp/metadata.php
index be1cbfb82..526c74581 100644
--- a/www/shib13/idp/metadata.php
+++ b/www/shib13/idp/metadata.php
@@ -44,7 +44,7 @@ try {
 ";
 	
 	$metaxml = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<EntityDescriptor entityID="' . htmlspecialchars($idpentityid) . '">
+<EntityDescriptor entityID="' . htmlspecialchars($idpentityid) . '" xmlns="urn:oasis:names:tc:SAML:2.0:metadata">
 
 	<IDPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:1.1:protocol urn:mace:shibboleth:1.0">
 
diff --git a/www/shib13/sp/metadata.php b/www/shib13/sp/metadata.php
index 138ca32a1..b6c08f6bf 100644
--- a/www/shib13/sp/metadata.php
+++ b/www/shib13/sp/metadata.php
@@ -34,7 +34,7 @@ try {
 ";
 	
 	$metaxml = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<EntityDescriptor entityID="' . htmlspecialchars($spentityid) . '">
+<EntityDescriptor entityID="' . htmlspecialchars($spentityid) . '" xmlns="urn:oasis:names:tc:SAML:2.0:metadata">
 	<SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:1.1:protocol">
 
 		<NameIDFormat>urn:mace:shibboleth:1.0:nameIdentifier</NameIDFormat>
-- 
GitLab