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

Validation of email address in user media

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 4.0.0alpha1
    • Frontend (F)

      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

            Unassigned Unassigned
            natalja.zabbix Natalja Romancaka
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: