Shibboleth headers: other _SERVER element

pairg - November 7, 2009 - 18:17
Project:Shibboleth authentication
Version:6.x-3.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

See after $_SERVER['Shib_Identity_Provider'] variable also, not only to $_SERVER['Shib-Identity-Provider'].
(This element added by an out of box Shibboleth SP.)

In 'shib_auth.module' on line 54:

$shib_headers_exist = ($_SERVER['HTTP_SHIB_IDENTITY_PROVIDER'] || $_SERVER['Shib-Identity-Provider']);

The good code:

$shib_headers_exist = ($_SERVER['HTTP_SHIB_IDENTITY_PROVIDER'] || $_SERVER['Shib-Identity-Provider'] || $_SERVER['Shib_Identity_Provider']);

 
 

Drupal is a registered trademark of Dries Buytaert.