From ff17745674edf9683443470858e9a0f95cbd99f1 Mon Sep 17 00:00:00 2001
From: Jaime Perez <jaime.perez@uninett.no>
Date: Thu, 3 Jul 2014 14:17:01 +0200
Subject: [PATCH] Set the destination attribute in LogoutResponses sent by the
 SAML SP.

---
 modules/saml/www/sp/saml2-logout.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/saml/www/sp/saml2-logout.php b/modules/saml/www/sp/saml2-logout.php
index 950f3b008..d8d04c5c1 100644
--- a/modules/saml/www/sp/saml2-logout.php
+++ b/modules/saml/www/sp/saml2-logout.php
@@ -128,6 +128,7 @@ if ($message instanceof SAML2_LogoutResponse) {
 		}
 		$binding->setDestination($dst);
 	}
+	$lr->setDestination($dst);
 
 	$binding->send($lr);
 } else {
-- 
GitLab