HTML in junitreport macro failure messages is not escaped

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 2.0
    • Affects Version/s: 1.4.2
    • Component/s: None
    • Environment:

      BEA WebLogic app server version 8.1. IBM's JDK 1.4(.06?) running on AIX.

      When HTML appears in a JUnit failure message, the junitreport macro does not escape it. So displaying failure messages with HTML in them displays the formatted HTML snippets inside the junitreport output table. See example files.

      Also, the stack trace doesn't seem to be <pre> format either, the lines wrap instead of being on separate lines (also fixed in K:\junitreport_escaped.htm example).

        1. junitreport_bug.htm
          37 kB
          Clyde Cutting
        2. junitreport_escaped.htm
          40 kB
          Clyde Cutting

              Assignee:
              Unassigned
              Reporter:
              Clyde Cutting
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: