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

Key name doesn't accept '-' anymore

XMLWordPrintable

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

      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 [...])

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

              Created:
              Updated:
              Resolved: