ICEfaces
  1. ICEfaces
  2. ICE-3182

DOMResponseWriter.writeText() escaping

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 2.0-Alpha3, 2.0.0
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces

      Description

      As the API says, text has to be written "after performing any escaping
      appropriate for the markup language being rendered".
      The SUN RI HtmlResponseWriter implements the escaping.
      In ICEFaces text render, escaping is implemented by converting
      text with DOMUtils.escapeAnsi().

      The implementation currently does not escape text inserted in the DOM. Note that it can be argued that the DOM should not contain escaped text and that any escaping should be performed during DOM serialization.

        Issue Links

          Activity

            People

            • Assignee:
              Greg Dick
              Reporter:
              Ted Goddard
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: