You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "shafi khan (JIRA)" <de...@myfaces.apache.org> on 2007/07/16 15:45:04 UTC

[jira] Created: (TRINIDAD-104) Adding a check against null character in HtmlResponseWriter

Adding a check against null character in HtmlResponseWriter
-----------------------------------------------------------

                 Key: TRINIDAD-104
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-104
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Components
         Environment: operating system: WinXP

            Reporter: shafi khan
            Priority: Critical


This is to avoid writing a illegal character in HTML. If we bind accessKey to a null character , then HTMLResponseWriter writes a illegal character to the output. Because HTML treats \u0000 as a unused character. 

We will have to check against null character, and render nothing.  I am going to provide the patch.


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


[jira] Updated: (TRINIDAD-104) Adding a check against null character in HtmlResponseWriter

Posted by "shafi khan (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

shafi khan updated TRINIDAD-104:
--------------------------------

    Status: Patch Available  (was: Open)

> Adding a check against null character in HtmlResponseWriter
> -----------------------------------------------------------
>
>                 Key: TRINIDAD-104
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-104
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>         Environment: operating system: WinXP
>            Reporter: shafi khan
>            Priority: Critical
>         Attachments: access.patch
>
>
> This is to avoid writing a illegal character in HTML. If we bind accessKey to a null character , then HTMLResponseWriter writes a illegal character to the output. Because HTML treats \u0000 as a unused character. 
> We will have to check against null character, and render nothing.  I am going to provide the patch.

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


[jira] Reopened: (TRINIDAD-104) Don't write NULL characters as output

Posted by "Adam Winer (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Winer reopened TRINIDAD-104:
---------------------------------

      Assignee: Adam Winer

> Don't write NULL characters as output
> -------------------------------------
>
>                 Key: TRINIDAD-104
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-104
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.0.1-core
>         Environment: operating system: WinXP
>            Reporter: shafi khan
>            Assignee: Adam Winer
>            Priority: Critical
>         Attachments: trunk.patch
>
>
> This is to avoid writing a illegal character in HTML. If we bind accessKey to a null character , then HTMLResponseWriter writes a illegal character to the output. Because HTML treats \u0000 as a unused character. 
> We will have to check against null character, and render nothing.  I am going to provide the patch.

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


[jira] Resolved: (TRINIDAD-104) Don't write NULL characters as output

Posted by "Adam Winer (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Winer resolved TRINIDAD-104.
---------------------------------

    Resolution: Fixed

Fixed by patching CoreRenderer.toChar()

> Don't write NULL characters as output
> -------------------------------------
>
>                 Key: TRINIDAD-104
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-104
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.0.1-core
>         Environment: operating system: WinXP
>            Reporter: shafi khan
>            Assignee: Adam Winer
>            Priority: Critical
>         Attachments: trunk.patch
>
>
> This is to avoid writing a illegal character in HTML. If we bind accessKey to a null character , then HTMLResponseWriter writes a illegal character to the output. Because HTML treats \u0000 as a unused character. 
> We will have to check against null character, and render nothing.  I am going to provide the patch.

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


[jira] Updated: (TRINIDAD-104) Adding a check against null character in HtmlResponseWriter

Posted by "Adam Winer (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Winer updated TRINIDAD-104:
--------------------------------

    Status: Open  (was: Patch Available)

> Adding a check against null character in HtmlResponseWriter
> -----------------------------------------------------------
>
>                 Key: TRINIDAD-104
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-104
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>         Environment: operating system: WinXP
>            Reporter: shafi khan
>            Priority: Critical
>         Attachments: trunk.patch
>
>
> This is to avoid writing a illegal character in HTML. If we bind accessKey to a null character , then HTMLResponseWriter writes a illegal character to the output. Because HTML treats \u0000 as a unused character. 
> We will have to check against null character, and render nothing.  I am going to provide the patch.

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