tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph Naegele (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (TIKA-1937) LinkContentHandler skips script tags
Date Thu, 07 Apr 2016 14:27:25 GMT

     [ 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

View raw message