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

HTML entities are not encoded

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Won't fix
    • Affects Version/s: 1.9.8 (beta), 2.1.0
    • Fix Version/s: 2.1.0
    • Component/s: Frontend (F)
    • Labels:

      Description

      "&" 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.

        Attachments

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: