[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:
I expect all values to be enclosed with quotes or comma protected



 Comments   
Comment by Arturs Lontons [ 2019 Apr 12 ]

Hi,

This cannot be classified as a bug report, since such behavior is intended by design.
If you want to, we can change the ticket type to feature request.

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.

Generated at Thu Apr 25 03:50:17 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.