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

Key name doesn't accept '-' anymore

    XMLWordPrintable

Details

    • Incident report
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.8.8
    • None
    • Frontend (F)
    • None

    Description

      In PHP GUI, file
      include/defines.inc.php
      has a wrong regular expression for
      ZBX_PREG_KEY_NAME
      (line 649)
      It is
      ([0-9a-zA-Z_,.-:_ ]+)
      while it should be
      ([0-9a-zA-Z_,.\-:_ ]+)
      so to allow "-" in key names
      ("-" has to be escaped if not last char insied [...])

      Attachments

        Activity

          People

            Unassigned Unassigned
            canepan Nicola Canepa
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: