Skip to content

fix(registrar): allow for uppercase in top level domain of email

Rastislav Kruták requested to merge rkrutak/STR-1507/mail_valid_fix into main

Description

fix(registrar): allow for uppercase in top level domain of email

  • There are many regexes for domain validation floating around that require the top level domain to be lowercase, however I have not found any reason for it to be so and most email validators accept it uppercase aswell

How to test

Author's checklist

  • I have followed the contribution guidelines
  • This MR has been tested or does not change functionality
  • I have added relevant merge request dependencies (if this MR has any)
  • I have added the correct labels
  • I have assigned reviewers (if any are relevant)
  • I have edited the documentation (if the changes require it) or I have noted the need for the change if I do not have access to the documentation
  • I have marked all introduced BREAKING CHANGES or necessary DEPLOYMENT NOTES in the commit message(s)

Reviewer's checklist

  • This MR has been tested or does not change functionality
  • This MR has correct commit message format

Other information

TODO: Add e.g. example usage, screenshots

Related issues

TODO: Add relevant issue numbers in the following format (will be added automatically if the MR branch follows our branch naming conventions):

  • closes STR-XXX, closes STR-YYY for issues fully resolved by this MR, or
  • re STR-XXX, STR-YYY for issues only partially resolved by this MR

Closes STR-1507

Edited by Rastislav Kruták

Merge request reports