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 12:38:11 GMT

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

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

I can't actually say what the HTML4 spec compliant interpretation is, too.
I just commented on working this patch.

I couldn't find HTML4 spec. but I think HTML5 override attributes issue. Please see URL below.

Thanks,
Issei


http://www.w3.org/TR/html5/introduction.html
///
Attributes are placed inside the start tag, and consist of a name and a value, separated by
an "=" character. The attribute value can remain unquoted if it doesn't contain space characters
or any of " ' ` = < or >. Otherwise, it has to be quoted using either single or double
quotes. The value, along with the "=" character, can be omitted altogether if the value is
the empty string.

<!-- empty attributes -->
<input name=address disabled>
<input name=address disabled="">

<!-- attributes with a value -->
<input name=address maxlength=200>
<input name=address maxlength='200'>
<input name=address maxlength="200">

> 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-2.patch, 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