You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2013/10/16 18:43:47 UTC

[jira] [Commented] (MYFACES-3744) Vertical tab character (\u000B) destroys AJAX-response

    [ https://issues.apache.org/jira/browse/MYFACES-3744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13796961#comment-13796961 ] 

Leonardo Uribe commented on MYFACES-3744:
-----------------------------------------

According to this link from W3C:

http://www.w3.org/International/questions/qa-controls

control characters should be ignored.

Also this link:

http://www.w3.org/MarkUp/html3/specialchars.html

Says the only valid characters are HT, LF, CR (0x09, 0x0A, 0x0D) and:

"... In HTML, there are only three control characters which are used. The remaining 55 control characters are shunned and should not appear in an HTML document. ..."

HtmlResponseWriterImpl should honor that in those places where html escaping is done, like in writeText or writeAttribute. 

> Vertical tab character (\u000B) destroys AJAX-response
> ------------------------------------------------------
>
>                 Key: MYFACES-3744
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3744
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 2.1.12
>         Environment: jdk1.7.0_21; apache-tomcat-7.0.42; Firefox;
>            Reporter: Alexey Shakov
>         Attachments: messages.properties, vtab.xhtml
>
>
> If AJAX response contains \u000B-character (i.e., as value of outputText), then 'not well formed xml'-error is displayed in js-console. Request is not processed properly.
> Works with Mojarra 2.1.24



--
This message was sent by Atlassian JIRA
(v6.1#6144)