You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Alex Alishevskikh (Jira)" <ji...@apache.org> on 2022/04/18 10:28:00 UTC
[jira] [Updated] (LUCENE-10520) HTMLCharStripFilter fails on '>' or '<' characters in attribute values
[ https://issues.apache.org/jira/browse/LUCENE-10520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Alishevskikh updated LUCENE-10520:
---------------------------------------
Fix Version/s: 9.1
> HTMLCharStripFilter fails on '>' or '<' characters in attribute values
> -----------------------------------------------------------------------
>
> Key: LUCENE-10520
> URL: https://issues.apache.org/jira/browse/LUCENE-10520
> Project: Lucene - Core
> Issue Type: Bug
> Components: modules/analysis
> Reporter: Alex Alishevskikh
> Priority: Major
> Labels: HTMLCharStripFilter
> Fix For: 9.1
>
> Attachments: HTMLStripCharFilterTest.java
>
>
> If HTML input contains attributes with '<' or '>' characters in their values, HTMLCharStripFilter produces unexpected results.
> See the attached unit test for example.
> These characters are valid in attribute values, as by the [HTML5 specification |https://html.spec.whatwg.org/#syntax-attribute-value]. The [W3C validator|https://validator.w3.org/nu/#textarea] does not have issues with the test HTML.
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org