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

          Ted Goddard created issue -
          Ted Goddard made changes -
          Field Original Value New Value
          Fix Version/s 1.7.2 [ 10130 ]
          Ken Fyten made changes -
          Assignee Mark Collette [ mark.collette ]
          Ken Fyten made changes -
          Assignee Priority P3
          Ken Fyten made changes -
          Fix Version/s 1.8DR#2 [ 10142 ]
          Fix Version/s 1.7.2 [ 10130 ]
          Ken Fyten made changes -
          Fix Version/s 2.0 [ 10032 ]
          Fix Version/s 1.8DR#2 [ 10142 ]
          Assignee Priority P3
          Assignee Mark Collette [ mark.collette ]
          Ken Fyten made changes -
          Assignee Ted Goddard [ ted.goddard ]
          Ken Fyten made changes -
          Salesforce Case []
          Assignee Priority P2
          Ken Fyten made changes -
          Salesforce Case []
          Assignee Ted Goddard [ ted.goddard ] Greg Dick [ greg.dick ]
          Mark Collette made changes -
          Link This issue blocks ICE-5582 [ ICE-5582 ]
          Ted Goddard made changes -
          Assignee Greg Dick [ greg.dick ] Judy Guglielmin [ judy.guglielmin ]
          Judy Guglielmin made changes -
          Assignee Judy Guglielmin [ judy.guglielmin ] Greg Dick [ greg.dick ]
          Judy Guglielmin made changes -
          Link This issue blocks ICE-4950 [ ICE-4950 ]
          Ken Fyten made changes -
          Link This issue blocks ICE-5551 [ ICE-5551 ]
          Greg Dick made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Fix Version/s 2.0.0 [ 10230 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Assignee Priority P2

            People

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

              Dates

              • Created:
                Updated:
                Resolved: