From 49adfccae84110dcf6d70a4a029c0f68184743e1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaime=20P=C3=A9rez=20Crespo?= <jaime.perez@uninett.no>
Date: Fri, 1 Sep 2017 14:02:01 +0200
Subject: [PATCH] Make sure to set the default namespace to keep backwards
 compatibility

---
 modules/adfs/lib/IdP/ADFS.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/adfs/lib/IdP/ADFS.php b/modules/adfs/lib/IdP/ADFS.php
index 63c196c43..625f2a123 100644
--- a/modules/adfs/lib/IdP/ADFS.php
+++ b/modules/adfs/lib/IdP/ADFS.php
@@ -62,7 +62,7 @@ MSG;
                 continue;
             }
 
-            list($namespace, $name) = SimpleSAML\Utils\Attributes::getAttributeNamespace($name);
+            list($namespace, $name) = SimpleSAML\Utils\Attributes::getAttributeNamespace($name, 'http://schemas.xmlsoap.org/claims');
             foreach ($values as $value) {
                 if ((!isset($value)) || ($value === '')) {
                     continue;
-- 
GitLab