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 13:55:11 GMT

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

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

I apologize for any confusion.

I've tested HTML below.

{code}
<!DOCTYPE HTML><html lang="en"><head>
<meta charset="UTF-8">
<title>Examples</title>
</head>
<body>
<ul>
<li><a href=hello/out/there>hello</a></li>
</ul>
</body></html>
{code}

and I got 
{code}
hello/o/u/t/t/h/e/r/e/
{code}
as result using connectors-1264-2.patch.


What I expected for result is below.
 
{code}
case 1:
<a href=hello/out/there>hello</a>

expect:
hello/out/there
{code}

{code}
case 2:
<a href="hello/out/there">hello</a>

expect:
hello/out/there
{code}

{code}
case 3:
<a href=hello/out/there/sample?value=1 target="_blank">hello</a>

expect:
hello/out/there/sample?value=1
{code}


> 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-3.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