HtmlResponseWriterImpl implements different encoding behaviour for the two 
writeText methods
--------------------------------------------------------------------------------------------

                 Key: MYFACES-1666
                 URL: https://issues.apache.org/jira/browse/MYFACES-1666
             Project: MyFaces Core
          Issue Type: Bug
          Components: General
    Affects Versions: 1.1.5
            Reporter: Manfred Geiler
            Assignee: Manfred Geiler


HtmlResponseWriterImpl implements different behaviour for the two writeText 
methods:
 * writeText(Object value, String componentPropertyName) does not encode 
successive spaces and newlines
 * writeText(char cbuf[], int off, int len) does encode successive spaces and 
newlines

RI does not encode in both variants.

IMO both methods SHOULD encode successive spaces and newlines to render the 
corresponding HTML syntax (&nbsp; and <br/>).
Therefore we should (re)add this feature and make it switchable via a MyFaces 
Option "STRICT_RI_MODE" or something like that.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to