-
Problem report
-
Resolution: Fixed
-
Trivial
-
5.0.37, 6.0.21, 6.4.6, 7.0.0alpha5
-
None
-
Sprint 104 (Sep 2023), Sprint 105 (Oct 2023), S24-W24/25
-
1
Note! Please fix this only after merge of ZBXNEXT-8453.
Additional escaping in trigger expressions expression table, for example ">"(greater character) is escaped to >. This is observed only for triggers with "readonly" expressions.
Steps to reproduce:
- Open Zabbix server host and click on inherited trigger, "Linux by Zabbix agent: Linux: /etc/passwd has been changed" for example.
- In trigger popup click "expression constructor"
Observed:
Expression part -
{{last(/Zabbix server/vfs.file.cksum[/etc/passwd,sha256],#1)<>last(/Zabbix server/vfs.file.cksum[/etc/passwd,sha256],#2)}}
Expected:
Expression do not have double escaping -
{{last(/Zabbix server/vfs.file.cksum[/etc/passwd,sha256],#1)<>last(/Zabbix server/vfs.file.cksum[/etc/passwd,sha256],#2)}}