[ZBXNEXT-5173] {EVENT.TAGS} not protected in notifications Created: 2019 Apr 12 Updated: 2019 Apr 12 |
|
Status: | Need info |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Server (S) |
Affects Version/s: | 4.2.0 |
Fix Version/s: | None |
Type: | Change Request | Priority: | Trivial |
Reporter: | GuiGuiGui | Assignee: | Zabbix Development Team |
Resolution: | Unresolved | Votes: | 1 |
Labels: | items, macros, triggers | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
Steps to reproduce: Create a trigger with some tags with one containing a comma like a_tag = this is , a test class = ZABBIX Create an action that will run a command on zabbix server. The command is echo {EVENT.TAGS} > /tmp/tags Make the trigger fire Result: The file content is: a_tag:this is , a test, class:ZABBIX_SERVER You can notice that strings are not protected and make it difficult to parse with regex. Expected: |
Comments |
Comment by Arturs Lontons [ 2019 Apr 12 ] |
Hi, This cannot be classified as a bug report, since such behavior is intended by design. |
Comment by GuiGuiGui [ 2019 Apr 12 ] |
Alright, change it please |
Comment by Arturs Lontons [ 2019 Apr 12 ] |
The issue type has been changed to "Feature request" and assigned to the development team. |