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

Email addresses entered in the user profile form should be trimmed

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Inactive
    • Affects Version/s: 1.9.3
    • Fix Version/s: None
    • Component/s: Administration
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE

      Description

      A valid email address can never start or end with a space, so we should trim all email addresses entered into the user profile form. This would save people from copy-and-paste situations where extra whitespace gets included unintentionally. See, for example, http://moodle.org/mod/forum/discuss.php?d=114667

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            timhunt Tim Hunt
            Participants:
            Component watchers:
            Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: