You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Peter Mahoney (JIRA)" <de...@myfaces.apache.org> on 2006/09/18 16:01:23 UTC

[jira] Commented: (TOMAHAWK-676) ReducedHTMLParser

    [ http://issues.apache.org/jira/browse/TOMAHAWK-676?page=comments#action_12435484 ] 
            
Peter Mahoney commented on TOMAHAWK-676:
----------------------------------------

Title of this issues should be something like: ReducedHTMLParser not handling escaped characters in attribute values

Sorry.

> ReducedHTMLParser
> -----------------
>
>                 Key: TOMAHAWK-676
>                 URL: http://issues.apache.org/jira/browse/TOMAHAWK-676
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>    Affects Versions: 1.1.5-SNAPSHOT
>            Reporter: Peter Mahoney
>         Attachments: ReducedHTMLParser.patch, ReducedHTMLParserTest.patch
>
>
> ReducedHTMLParser does not currently deal with escaped characters in an attribute value, other than an escaped quote character or an escaped backslash.
> This results in the warning:
> WARN  html.util.ReducedHTMLParser:557  -> Invalid tag found: unexpected input while looking for attr name or '/>' at line 243
> An example of a case not handled:
> onclick="alert('here\'s a bug')"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira