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

HTML special characters in item name are translated by Web Browser

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • None
    • 2.2.23, 3.0.22rc1, 3.0.22, 4.0.0beta2, 4.0.0
    • Frontend (F)
    • None

      HTML Special charactors in item name, item value, trigger name and etc. is not converted and HTML browser translates them.
      Before adding them, frontend php codes must call htmlspecialchars() function and attach the patch but it is not perfect.

        1. 1.jpg
          1.jpg
          118 kB
        2. 1-items-starting-with-ampersand.png
          1-items-starting-with-ampersand.png
          33 kB
        3. 2.jpg
          2.jpg
          158 kB
        4. 2-latest-data-items-starting-with-ampersand.png
          2-latest-data-items-starting-with-ampersand.png
          40 kB
        5. 3.jpg
          3.jpg
          80 kB
        6. item-name-starting-with-ampersand.xml
          6 kB
        7. zabbix-3.0.22_htmlspecialchars.patch
          5 kB

            zabbix.dev Zabbix Development Team
            daiki.matsuda@miraclelinux.com MATSUDA Daiki
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: