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

front-end allows to enter unescaped single backslash in replace preprocessing

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 7.0.0alpha7, 7.0 (plan)
    • 7.0.0alpha3
    • Frontend (F)
    • None
    • Sprint 103 (Aug 2023), Sprint 104 (Sep 2023), Sprint 105 (Oct 2023)
    • 0.5

      1) item returns a single slash,
      or it could be another preprocessing step that returns single slash, like Javascript, e.g.:

      return "\\";
      

      2) Setting second Replace step:

      \ -> \\
      Result: \
      

      3) Setting second Replace step:

      \\ -> \\
      Result: \
      

      4) Setting second Replace step:

      \\\ -> \\
      Result: \
      

      5) Setting second Replace step:

      \\\ -> \\\
      Result: \
      

      6) Setting second Replace step:

      \\\\ -> \\\\
      Result: \
      

            Miks.Kronkalns Miks Kronkalns
            arimdjonoks Artjoms Rimdjonoks
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: