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

Details

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

    Description

      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: \
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: