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

XMLWordPrintable

    • Type: Problem report
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 4.0.47, 5.0.36
    • Component/s: 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

            Assignee:
            Zabbix Development Team
            Reporter:
            Nikita Gogolevs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: