[ZBX-9882] Multiple item key parsing issues in server Created: 2015 Sep 17 Updated: 2024 Apr 10 Resolved: 2018 Apr 27 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Agent (G), Proxy (P), Server (S) |
Affects Version/s: | None |
Fix Version/s: | 4.0.0alpha6, 4.0 (plan) |
Type: | Problem report | Priority: | Minor |
Reporter: | Andris Zeila | Assignee: | Viktors Tjarve |
Resolution: | Fixed | Votes: | 0 |
Labels: | escaping, keys | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
||||||||||||||||
Team: | Team A | ||||||||||||||||
Sprint: | Sprint 27, Sprint 28, Sprint 29, Sprint 30, Sprint 31, Sprint 32 | ||||||||||||||||
Story Points: | 4 |
Description |
key[["a\"b"]] returns NULL parameter instead of "a\"b". key[a][b] returns a][b parameter instead 2 parameters - a and b. |
Comments |
Comment by Alexander Vladishev [ 2017 Nov 23 ] |
glebs.ivanovskis, please add unit tests for parse_item_key() and functions for parsing item parameters. |
Comment by Viktors Tjarve [ 2018 Mar 22 ] |
[G][S][P] Dropped Zapcat-style key support key[a][b]. Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-9882 |
Comment by Andris Mednis [ 2018 Mar 27 ] |
(1) Some changes in frontend also need to be done! <viktors.tjarve]> CLOSED |
Comment by Andris Mednis [ 2018 Apr 06 ] |
(6) See proposed parse_key() modification r79313 - improved const-correctness, less type casts. <viktors.tjarve> Looks good. CLOSED |