[ZBX-2715] unquoted hostids parameter does not work on some systems Created: 2010 Jul 17 Updated: 2017 May 30 Resolved: 2010 Jul 19 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | API (A) |
Affects Version/s: | None |
Fix Version/s: | 1.8.3 |
Type: | Incident report | Priority: | Major |
Reporter: | richlv | Assignee: | Unassigned |
Resolution: | Won't fix | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
php 5.3.2 |
Description |
on some systems unquoted hostids parameter does not work. a request that works : {"auth":"fc0218e31075368f7c54aa46bb63985f","method":"item.get","id":4,"params": {"extendoutput":true,"hostids":"'1201200000010047'","limit":100},"jsonrpc":"2.0"} request that fails : {"auth":"fc0218e31075368f7c54aa46bb63985f","method":"item.get","id":5,"params": {"extendoutput":true,"hostids":1201200000010047,"limit":100},"jsonrpc":"2.0"} |