[ZBXNEXT-9595] HTTP agent body content validation should be less strict Created: 2024 Nov 14  Updated: 2025 Mar 19

Status: READY TO DEVELOP
Project: ZABBIX FEATURE REQUESTS
Component/s: API (A), Frontend (F)
Affects Version/s: 6.0.37rc1, 7.0.7rc1, 7.2.0rc1
Fix Version/s: 7.0.12rc1, 7.2.6rc1, 7.4.0beta1 (master)

Type: Change Request Priority: Trivial
Reporter: Vjaceslavs Bogdanovs Assignee: Zabbix Development Team
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Causes
caused by ZBXNEXT-6980 Implement audit log for item Closed
Team: Team C
Sprint: Sprint candidates, S24-W48/49

 Description   

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.


Generated at Sat Mar 29 20:19:41 EET 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.