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

allowemailaddresses should be case insensitive

    XMLWordPrintable

Details

    • MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
    • MOODLE_35_STABLE, MOODLE_36_STABLE
    • MDL-64385-master
    • Hide
      1. As admin go to Site administration -> Plugins -> Authentication -> Manage authentication
      2. Add 'example.com .moodle.com' to 'Allowed email domains' list and Save Changes
      3. Logout as admin
      4. Create a new user account with email = 'something@EXAMPLE.COM' and Save changes.
        • Check new user has been created.
      5. Create a new user account with email = 'something@example.MOODLE.COM' and Save changes.
        • Check new user has been created.
      6. Create a new user account with email = 'something@something.com' and Save changes.
        • Check new user has not been created.
      7. As admin, go to Site administration -> Plugins -> Authentication -> Manage authentication
      8. Remove 'Allowed email domains' list
      9. Add 'example.com .moodle.com' to 'Denied email domains' list and Save Changes
      10. Logout as admin
      11. Create a new user account with email = 'something2@EXAMPLE.COM' and Save changes.
        • Check new user has not been created.
      12. Create a new user account with email = 'something2@example.MOODLE.COM' and Save changes.
        • Check new user has not been created.
      13.  Create a new user account with email = 'something2@something.com' and Save changes.
        • Check new user has been created.

       

      Show
      As admin go to Site administration -> Plugins -> Authentication -> Manage authentication Add 'example.com .moodle.com' to 'Allowed email domains' list and Save Changes Logout as admin Create a new user account with email = 'something@EXAMPLE.COM' and Save changes. Check new user has been created. Create a new user account with email = 'something@example.MOODLE.COM' and Save changes. Check new user has been created. Create a new user account with email = 'something@something.com' and Save changes. Check new user has not been created. As admin, go to Site administration -> Plugins -> Authentication -> Manage authentication Remove 'Allowed email domains' list Add 'example.com .moodle.com' to 'Denied email domains' list and Save Changes Logout as admin Create a new user account with email = 'something2@EXAMPLE.COM' and Save changes. Check new user has not been created. Create a new user account with email = 'something2@example.MOODLE.COM' and Save changes. Check new user has not been created.  Create a new user account with email = 'something2@something.com' and Save changes. Check new user has been created.  

    Description

      In Moodle 3.5.3, it looks like allowemailaddresses checks email domains to be case sensitive.  For example if allowedemailaddresses = domain.com and a user tries to self-register with username@DOMAIN.com, the check will fail.

      Per the following RFC, domain names are case insensitive:

      RFC 1035, section 3.1 (https://tools.ietf.org/html/rfc1035),

      "Name servers and resolvers must compare [domains] in a case-insensitive manner"

       

      Attachments

        Issue Links

          Activity

            People

              amaia Amaia Anabitarte
              jesse.safran Jesse Safran
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Janelle Barcega Janelle Barcega
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 40 minutes
                  40m

                  Clockify

                    Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.