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

Trigger's URL contains a line break in Problems widget, if specific C0 control symbols are present in the URL

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 4.0.47, 5.0.36
    • Frontend (F)

      If trigger's URL was created via API, and contains symbols \u000A or \u000D, the line break is added, if opening the trigger's URL using Problems widget.

      Steps to reproduce:

      1. Create a trigger with URL via API, using one of the mentioned symbols in front of the URL, for example: \u000Atest
      2. Open the trigger's URL using Problems widget

      Result:
      The line-break is added to the URL
      See screenshots:

      Expected:
      The control symbols should be trimmed when parsing the URL, correct URL should be opened in the new tab

        1. trigger-url-problems.png
          123 kB
          Nikita Gogolevs
        2. url-br.png
          29 kB
          Nikita Gogolevs

            zabbix.dev Zabbix Development Team
            ngogolevs Nikita Gogolevs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: