Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-15269 hbase-webapps bugs fixing
  3. HBASE-15270

Use appropriate encoding for "filter" field in TaskMonitorTmpl.jamon

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.1, 1.1.3, 2.0.0
    • 1.2.0, 1.3.0, 1.1.4, 2.0.0
    • UI
    • None

    Description

      In TaskMonitorTmpl.jamon we have this line

      <li><a href="?format=json&filter=<% filter %>">View as JSON</a></li>
      

      which is allowing "filter" parameter to take arbitrary value. I suggest that we encode this value for HTML.

      Attachments

        1. HBASE-15270_v0.patch
          2 kB
          Samir Ahmic
        2. HBASE-15270_v1.patch
          2 kB
          Samir Ahmic

        Issue Links

          Activity

            People

              asamir Samir Ahmic
              asamir Samir Ahmic
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: