myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <>
Subject [jira] [Commented] (MYFACES-3744) Vertical tab character (\u000B) destroys AJAX-response
Date Wed, 16 Oct 2013 16:43:47 GMT


Leonardo Uribe commented on MYFACES-3744:

According to this link from W3C:

control characters should be ignored.

Also this link:

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:
>             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:, 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

View raw message