Zabbix API should trim values

XMLWordPrintable

    • Type: Incident report
    • Resolution: Cannot Reproduce
    • Priority: Trivial
    • None
    • Affects Version/s: None
    • Component/s: API (A)

      The API update and create methods don't trim spaces around most passed values. This can lead to problems in the frontend. For instance, we can create two hosts with different spaces around the host names, which we later won't be able to save because the spaces will be trimmed.

      Keep in mind, that certain parameters like "ipmi_sensor" of items should not be trimmed.

            Assignee:
            Unassigned
            Reporter:
            Pavels Jelisejevs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: