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.

        1.
        HTML entities are not encoded in Configuration->Triggers Sub-task Closed Unassigned
        2.
        HTML entities are not encoded in Configuration->Items Sub-task Closed Unassigned
        3.
        HTML entities are not encoded in the front-end Sub-task Closed Unassigned
        4.
        HTML entities are not encoded in Configuration->Graphs Sub-task Closed Unassigned
        5.
        HTML entities are not encoded in Configuration->Applications Sub-task Closed Unassigned
        6.
        HTML entities are not encoded in Configuration->Web scenarios Sub-task Closed Unassigned
        7.
        HTML entities are not encoded in Configuration->Discovery rules Sub-task Closed Unassigned
        8.
        HTML entities are not encoded in Configuration->Maintenance Sub-task Closed Unassigned
        9.
        HTML entities are not encoded in Configuration->Host groups Sub-task Closed Unassigned
        10.
        HTML entities are not encoded in Configuration->Templates Sub-task Closed Unassigned
        11.
        HTML entities are not encoded in Configuration->Screens Sub-task Closed Unassigned
        12.
        HTML entities are not encoded in Configuration->Slide shows Sub-task Closed Unassigned
        13.
        HTML entities are not encoded in Configuration->Maps Sub-task Closed Unassigned
        14.
        HTML entities are not encoded in Configuration->Discovery Sub-task Closed Unassigned
        15.
        HTML entities are not encoded in Configuration->IT services Sub-task Closed Unassigned
        16.
        HTML entities are not encoded in Configuration->Actions Sub-task Closed Unassigned
        17.
        HTML entities are not encoded in Administration->Proxies Sub-task Closed Unassigned
        18.
        HTML entities are not encoded in Administration->User groups Sub-task Closed Unassigned
        19.
        HTML entities are not encoded in Administration->Users Sub-task Closed Unassigned
        20.
        HTML entities are not encoded in Administration->Media types Sub-task Closed Unassigned
        21.
        HTML entities are not encoded in Administration->Scripts Sub-task Closed Unassigned
        22.
        HTML entities are not encoded in Administration->Audit Sub-task Closed Unassigned
        23.
        html tag not displayed correctly when new trigger saved on triggers.php Sub-task Closed Unassigned
        24.
        HTML entities are not encoded in Administration->Images Sub-task Closed Unassigned
        25.
        HTML entities are not encoded in Administration->Icon mapping Sub-task Closed Unassigned

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

              Created:
              Updated:
              Resolved: