Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-23864

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.9
    • Fix Version/s: 1.9.10, 2.0
    • Component/s: Authentication
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      Error as above when web server is IIS.

      It's just a coding error... it is (at line 35):

      if (!$_SERVER['REQUEST_URI']) {

      but I think he meant...

      if (!isset($_SERVER['REQUEST_URI'])) {

        Attachments

          Activity

            People

            Assignee:
            iarenaza Iñaki Arenaza
            Reporter:
            howardsmiller Howard Miller
            Tester:
            Nobody
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              25/Oct/10