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 15:55:22 UTC
[jira] Created: (TOMAHAWK-676) ReducedHTMLParser
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
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
[jira] Updated: (TOMAHAWK-676) ReducedHTMLParser
Posted by "Peter Mahoney (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/TOMAHAWK-676?page=all ]
Peter Mahoney updated TOMAHAWK-676:
-----------------------------------
Status: Patch Available (was: Open)
> 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
[jira] Updated: (TOMAHAWK-676) ReducedHTMLParser not handling
escaped characters in attribute values
Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
[ 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
[jira] Commented: (TOMAHAWK-676) ReducedHTMLParser
Posted by "Peter Mahoney (JIRA)" <de...@myfaces.apache.org>.
[ 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