Skip to content

Commit

Permalink
Merge branch 'MDL-38637-master' of github.com:StudiUM/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Apr 12, 2013
2 parents 315e2ad + d1f167a commit 481c1c3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions auth/cas/CAS/CAS.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@
//
// hack by Vangelis Haniotakis to handle the absence of $_SERVER['REQUEST_URI'] in IIS
//
if (!isset($_SERVER['REQUEST_URI'])) {
$_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME'] . '?' . $_SERVER['QUERY_STRING'];
$_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME'];
if (isset($_SERVER['QUERY_STRING'])) {
$_SERVER['REQUEST_URI'] .= '?' . $_SERVER['QUERY_STRING'];
}

//
Expand Down

0 comments on commit 481c1c3

Please sign in to comment.