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

HTML entities are not encoded

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Major Major
    • 2.1.0
    • 1.9.8 (beta), 2.1.0
    • Frontend (F)

      "&" is not escaped on output it leads to many problems. For example:

      • go to graph creation form, enter graph name as "graph >", click preview button, after refresh graph name converts to "graph >".
      • previous leads to two graphs/apps/items... with identical names. Create one with ">" in name, another with ">". In frontend these will look identical.
      • in item list subfilter if item has application which name contain ">" subfilter for that app can be enabled but then connot be disabled.

      Solution apply sheath function CHtml::encode() to every field which is displaying inside not input element.

        There are no Sub-Tasks for this issue.

            Unassigned Unassigned
            vedmak Alexey Fukalov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: