You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Joseph Naegele (JIRA)" <ji...@apache.org> on 2016/04/07 16:27:25 UTC

[jira] [Updated] (TIKA-1937) LinkContentHandler skips script tags

     [ https://issues.apache.org/jira/browse/TIKA-1937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joseph Naegele updated TIKA-1937:
---------------------------------
    Attachment: TIKA-1937.patch

Patch for master branch. Adds support for script link extraction, tests included.

Note the changes needed to verify that the script tag contains a "src=..." attribute, otherwise the script is embedded and not a link.

> LinkContentHandler skips script tags
> ------------------------------------
>
>                 Key: TIKA-1937
>                 URL: https://issues.apache.org/jira/browse/TIKA-1937
>             Project: Tika
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.12
>            Reporter: Joseph Naegele
>         Attachments: TIKA-1937.patch
>
>
> Just like in TIKA-1835, <script> tags are not collected by LinkContentHandler. The difference between <script> and the other tags is that <script> tags that do not contain a "src" attribute are not links.



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