HTTP agent body content validation should be less strict

XMLWordPrintable

    • Type: Change Request
    • Resolution: Unresolved
    • Priority: Trivial
    • 8.0.0alpha2 (master)
    • Affects Version/s: 6.0.37rc1, 7.0.7rc1, 7.2.0rc1
    • Component/s: API (A), Frontend (F)
    • None
    • Documentation backlog, 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.

            Assignee:
            Zabbix Development Team
            Reporter:
            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