Key name doesn't accept '-' anymore

XMLWordPrintable

    • Type: Incident report
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: 1.8.8
    • Component/s: 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 [...])

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

              Created:
              Updated:
              Resolved: