From aeadb266c3c418af78cc4bfc9201943f282c4811 Mon Sep 17 00:00:00 2001 From: Olav Morken <olav.morken@uninett.no> Date: Thu, 24 Jun 2010 06:10:20 +0000 Subject: [PATCH] metaedit: Fix endpoints parsed from XML. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2360 44740490-163a-0410-bde0-09ae8108e29a --- modules/metaedit/www/edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/metaedit/www/edit.php b/modules/metaedit/www/edit.php index d8079784b..53023b114 100644 --- a/modules/metaedit/www/edit.php +++ b/modules/metaedit/www/edit.php @@ -40,8 +40,8 @@ if (array_key_exists('entityid', $_REQUEST)) { $metadata = $entity->getMetadata20SP(); /* Trim metadata endpoint arrays. */ - $metadata['AssertionConsumerService'] = SimpleSAML_Utilities::getDefaultEndpoint($metadata['AssertionConsumerService'], array(SAML2_Const::BINDING_HTTP_POST)); - $metadata['SingleLogoutService'] = SimpleSAML_Utilities::getDefaultEndpoint($metadata['SingleLogoutService'], array(SAML2_Const::BINDING_HTTP_REDIRECT)); + $metadata['AssertionConsumerService'] = array(SimpleSAML_Utilities::getDefaultEndpoint($metadata['AssertionConsumerService'], array(SAML2_Const::BINDING_HTTP_POST))); + $metadata['SingleLogoutService'] = array(SimpleSAML_Utilities::getDefaultEndpoint($metadata['SingleLogoutService'], array(SAML2_Const::BINDING_HTTP_REDIRECT))); #echo '<pre>'; print_r($metadata); exit; -- GitLab