-
Problem report
-
Resolution: Fixed
-
Critical
-
6.0.3
-
Linux (RPM distro), MySQL 8
-
Sprint 90 (Jul 2022), Sprint 91 (Aug 2022), Sprint 92 (Sep 2022), Sprint 93 (Oct 2022), Sprint 94 (Nov 2022)
-
0.25
Steps to reproduce:
- Create template with some trigger having function expression containing backslashes, like:
find(/host/sip.remote[5060],#3,"regexp","^OK\s+")<>0
- Make this template applied to hosts from autoregistration action (link template when host registers in Zabbix)
- Register new host susceptible to autoregistration applying this template
Result:
Host trigger expression will be correctly inherited from the template, but backslashes will be escaped, resulting in wrong expression like
find(/host/sip.remote[5060],#3,"regexp","^OK\\s+")<>0
Expected:
No such escaping, expressions should be copied as is from templates.