Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-3107

Cleanup the use of SendMailHelper.EMAIL_VALIDATION

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.LATER
    • None
    • None
    • None
    • 3 - For the record
    • 2 - Normal

      In RUNTIME-2741 many regex were removed to use SendMailHelper.EMAIL_VALIDATION

      But instead of modifying the code where the regex is called, the constants were modified to use SendMailHelper.EMAIL_VALIDATION

       

      Exemple in org.ametys.plugins.newsletter.subscribe.SubscribersClientSideElement

       

      private static final Pattern __EMAIL_VALIDATOR = SendMailHelper.EMAIL_VALIDATION;
      

      All the values modified like this should be removed and the SendMailHelper.EMAIL_VALIDATION should be called directly.

       

       

            Unassigned Unassigned
            pgros Pierre Gros (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: