Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-9595

HTTP agent body content validation should be less strict

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • 8.0.0alpha2 (master)
    • 6.0.37rc1, 7.0.7rc1, 7.2.0rc1
    • API (A), Frontend (F)
    • None
    • Prev.Sprint, S24-W48/49, S25-W44/45, S25-W46/47
    • 0.5

      Steps to reproduce:

      1. Create item
      2. Set type to HTTP agent
      3. Set request body type to JSON / XML
      4. Add data to the body that is not valid according to the selected type (not valid JSON / XML)

      Result:

      Zabbix will not allow saving such a configuration.

      Expected:
      It is expected that HTTP client will not validate data as it should be done by HTTP server. We could leave a notice that body may not be valid for the selected type, while still allowing to save the data.

            zabbix.dev Zabbix Development Team
            vjaceslavs Vjaceslavs Bogdanovs
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 16h 10m
                16h 10m