You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org> on 2006/09/20 20:14:37 UTC
[jira] Updated: (TOMAHAWK-676) ReducedHTMLParser not handling
escaped characters in attribute values
[ http://issues.apache.org/jira/browse/TOMAHAWK-676?page=all ]
Martin Marinschek updated TOMAHAWK-676:
---------------------------------------
Status: Resolved (was: Patch Available)
Fix Version/s: 1.1.4-SNAPSHOT
Resolution: Fixed
Thanks to Peter Mahoney for this fix.
regards,
Martin
> ReducedHTMLParser not handling escaped characters in attribute values
> ---------------------------------------------------------------------
>
> 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
> Assigned To: Martin Marinschek
> Fix For: 1.1.4-SNAPSHOT
>
> 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