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

username from phpCAS::getUser() can be mixed case and we check against a lower-case value

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.9, 1.9.5, 2.0
    • Fix Version/s: 1.8.10, 1.9.6, 2.0
    • Component/s: Authentication
    • Labels:
      None
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      As Julien Gribonvald points out in http://moodle.org/mod/forum/discuss.php?d=126988 we should use moodle_strtolower on the returned value before comparing both values.

        Attachments

          Activity

            People

            Assignee:
            iarenaza Iñaki Arenaza
            Reporter:
            iarenaza Iñaki Arenaza
            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:
              21/Oct/09