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

Incorrect backslash escaping in trigger expression

    XMLWordPrintable

Details

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

    Description

      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"".

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: