Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-13162

Validation of email address in user media

    XMLWordPrintable

    Details

    • Type: Problem report
    • Status: Reopened
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 4.0.0alpha1
    • Fix Version/s: None
    • Component/s: Frontend (F)
    • Labels:

      Description

      I propose to add additional validation for sender name in email field.

      1. Validate < and > in sender name. Like (NOT < and NOT>) <(valid email address)>

      Steps to reproduce:
      Type <[email protected]>,<[email protected]>,<[email protected]> in one row
      Result: message will sent to three emails [email protected], [email protected] and [email protected]
      Expected: Invalid email address

      Type <lalala><[email protected]>
      Result: email will sent to "\"[email protected]/lalal"@zabbix.comaaa4"@bbb.bbb
      Expected: Invalid email address

      2. Add trim after email, and before if entered only email address
      Steps to reproduce:
      Type [email protected] with space in the end
      Result: Invalid email address "[email protected] ".
      Expected: successfully added

      Type [email protected] with space before email
      Result: Invalid email address " [email protected]".
      Expected: successfully added

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              natalja.zabbix Natalja Karpinska
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: