manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Issei Nishigata (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CONNECTORS-1264) HTML parsing doesn't handle unquoted attribute values with "/" characters right
Date Tue, 08 Dec 2015 11:34:11 GMT

    [ https://issues.apache.org/jira/browse/CONNECTORS-1264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15046776#comment-15046776
] 

Issei Nishigata commented on CONNECTORS-1264:
---------------------------------------------

Does this patch works like "h/e/l/l/o//o/u/t//t/h/e/r/e" ?
# I got  "h/e/l/l/o//o/u/t//t/h/e/r/e" as result.
# am I something wrong with applying this patch? 

In line 876 at TagParseState.java, it means the end of tag's slash("/>"), I think.

this code is already in the unquoted attribute value.
# in TAGPARSESTATE_IN_UNQUOTED_ATTR_VALUE case block.
so I think line 876 to 882 should not be required in this case. that's it. 
I think no more codes for this patch.
What do you think?  

> HTML parsing doesn't handle unquoted attribute values with "/" characters right
> -------------------------------------------------------------------------------
>
>                 Key: CONNECTORS-1264
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1264
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Web connector
>    Affects Versions: ManifoldCF 2.2
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>             Fix For: ManifoldCF 2.3
>
>         Attachments: CONNECTORS-1264.patch, alternative.patch
>
>
> HTML tags like "<a href=hello/out/there >" fail to parse properly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message