MDL-23864 auth/cas Coding error: Undefined index REQUEST_URI in auth/cas/CAS/CAS.php

Patch our local copy (and record the change) while upstream fixes it (see
https://issues.jasig.org/browse/PHPCAS-81 )
This commit is contained in:
Inaki 2010-09-03 16:54:03 +00:00
parent 9d97f08e99
commit b44ff4e45b
2 changed files with 9 additions and 1 deletions

View file

@ -32,7 +32,7 @@
// //
// hack by Vangelis Haniotakis to handle the absence of $_SERVER['REQUEST_URI'] in IIS // hack by Vangelis Haniotakis to handle the absence of $_SERVER['REQUEST_URI'] in IIS
// //
if (!$_SERVER['REQUEST_URI']) { if (!isset($_SERVER['REQUEST_URI'])) {
$_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME'] . '?' . $_SERVER['QUERY_STRING']; $_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME'] . '?' . $_SERVER['QUERY_STRING'];
} }

View file

@ -0,0 +1,8 @@
Description of phpCAS 1.1.2 library import into Moodle
Our changes:
* CAS.php - fix notice of $_SERVER['REQUEST_URI'] not being defined under IIS
(we can remove this change when we upgrade to a phpCAS version that has
https://issues.jasig.org/browse/PHPCAS-81 fixed).
iarenaza