← Back to team overview

mahara-contributors team mailing list archive

[Bug 1714082] Re: The user's primary email address is not checked in a case insensitive way

 

Bug Fixed

Scenario: New user Browse to the Mahara site register page and wants to register with Institution One
1) Browse to the Mahara site register page
2) Try creating users with the following emails and verify the Error message displayed
a) usera@xxxxxxxxxxx = error expected = "This email address has already been registered here." ✔
b) Usera@xxxxxxxxxxx = error expected = "This email address has already been registered here." ✔
c) userA@xxxxxxxxxxx = error expected = "This email address has already been registered here." ✔
d) userā@example.com = error expected = "Invalid email address" ✔
e) UserA@xxxxxxxxxxx = error expected = "This email address has already been registered here." ✔

Catalyst QA Approved ✔

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1714082

Title:
  The user's primary email address is not checked in a case insensitive
  way

Status in Mahara:
  In Progress

Bug description:
  Currently you can create 2 users, via the Admin -> Users -> Add user
  screen, with this:

  username: Test one   email: UserA@xxxxxxxxxxx
  username: Test two   email: usera@xxxxxxxxxxx

  but not another user with

  username: Test three   email: usera@xxxxxxxxxxx

  As it complains the email address 'usera@xxxxxxxxxxx' is used

  However, with email addresses the domain part is case insensitive and
  only the username part is case sensitive - yet saying that most email
  servers treat the username part also as case insensitive to avoid
  email delivery confusion - see https://www.lifewire.com/are-email-
  addresses-case-sensitive-1171111

  To also avoid confusion within Mahara we should limit the primary
  email address to be case insensitive unique.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1714082/+subscriptions


References