Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-21534

Incorrect backslash escaping in trigger expression

XMLWordPrintable

    • Sprint 91 (Aug 2022), Sprint 92 (Sep 2022)
    • 0.25

      Steps to reproduce:

      1. Open trigger form
      2. Add expression:
        find(/host/item,,,"\n")="\\r"
        
      1. Update trigger

      Result:
      Expression with not escaped backslash in quoted function parameter is saved.
      Expected:
      Error is shown. Invalid parameter "/1/expression": incorrect expression starting from ""\n"".

            sasha Alexander Vladishev
            gcalenko Gregory Chalenko
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: