Possible loss of leading whitespace in key parameters when creating items with low level discovery

XMLWordPrintable

      Taken from ZBX-10681.1
      Suppose we have the following item prototype:

      item[{#VALUE}]
      

      If the value of the LLD macro is " value ", the following item is created:

      item[ value ]
      

      However, this is wrong, because the leading space will be trimmed when parsing key parameters. To keep the spaces this parameters should have been quoted: item[" value "]

            Assignee:
            Unassigned
            Reporter:
            Andris Zeila
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: