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

Forgot password tool performs case-sensitive search on username and e-mail

    XMLWordPrintable

    Details

    • Database:
      PostgreSQL
    • Testing Instructions:
      Hide

      To test, create a Moodle user account with an e-mail address (i.e. test@localhost.com) and run a forgot password test with both 'test@localhost.com' and 'Test@LocaLHOST.com' - you will only receive one e-mail for 'test@localhost.com'.

      Show
      To test, create a Moodle user account with an e-mail address (i.e. test@localhost.com) and run a forgot password test with both 'test@localhost.com' and 'Test@LocaLHOST.com' - you will only receive one e-mail for 'test@localhost.com'.
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w33_MDL-29000_m22_forgetcase

      Description

      When using the forgot password tool, it performs a check using case-sensitive strings when using PgSQL because using WHERE $field=$value in PgSQL checks for case-sensitivity. I am unable to replicate using MySQL as MySQL does not check for case-sensitivity when using WHERE $field=$value.

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            jaseeey Jason Ilicic
            Integrator:
            Eloy Lafuente (stronk7)
            Tester:
            Andrew Davis
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

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