From b7155e07a2aa34ff1fdc6ee5cb5914170bc452e3 Mon Sep 17 00:00:00 2001 From: Christoph Kreutzer Date: Fri, 6 May 2016 21:16:46 +0200 Subject: [PATCH] Allow SHIB_SESSION_ID as Shibboleth session header this is used by some server implementations, e.g. lighttpd --- shibboleth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shibboleth.php b/shibboleth.php index 3c4b522..d19df90 100644 --- a/shibboleth.php +++ b/shibboleth.php @@ -148,7 +148,7 @@ function shibboleth_admin_hooks() { function shibboleth_session_active() { $active = false; - $session_headers = array('Shib-Session-ID', 'Shib_Session_ID', 'HTTP_SHIB_IDENTITY_PROVIDER'); + $session_headers = array('Shib-Session-ID', 'Shib_Session_ID', 'SHIB_SESSION_ID', 'HTTP_SHIB_IDENTITY_PROVIDER'); foreach ($session_headers as $header) { if ( array_key_exists($header, $_SERVER) && !empty($_SERVER[$header]) ) { $active = true;