You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Hudson (Jira)" <ji...@apache.org> on 2019/11/13 01:30:00 UTC

[jira] [Commented] (TIKA-2983) tika-server should add the file name to the metadata when a file url is passed in

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

Hudson commented on TIKA-2983:
------------------------------

SUCCESS: Integrated in Jenkins build Tika-trunk #1737 (See [https://builds.apache.org/job/Tika-trunk/1737/])
TIKA-2983 -- tika-server should add the file name to the metadata when a (tallison: [https://github.com/apache/tika/commit/5134c7753d93c8e55d994223312e42909b1a9cff])
* (edit) tika-server/src/main/java/org/apache/tika/server/DefaultInputStreamFactory.java
* (edit) tika-server/src/main/java/org/apache/tika/server/resource/MetadataResource.java
* (edit) tika-server/src/main/java/org/apache/tika/server/resource/RecursiveMetadataResource.java
* (edit) tika-server/src/main/java/org/apache/tika/server/resource/UnpackerResource.java
* (edit) tika-server/src/main/java/org/apache/tika/server/InputStreamFactory.java
* (edit) tika-server/src/main/java/org/apache/tika/server/URLEnabledInputStreamFactory.java
* (edit) tika-server/src/main/java/org/apache/tika/server/resource/TikaResource.java
* (edit) tika-server/src/main/java/org/apache/tika/server/resource/DetectorResource.java


> tika-server should add the file name to the metadata when a file url is passed in
> ---------------------------------------------------------------------------------
>
>                 Key: TIKA-2983
>                 URL: https://issues.apache.org/jira/browse/TIKA-2983
>             Project: Tika
>          Issue Type: Improvement
>            Reporter: Tim Allison
>            Assignee: Tim Allison
>            Priority: Major
>             Fix For: 1.23
>
>
> In "insecure mode" in tika-server, users can specify a file location in the header so that the parser can read directly from a file.  We are currently not recording the name of the file, and we should.  If we switch {{TikaInputStream.get(URL url)}} to {{TikaInputStream.get(URL url, Metadata metadata)}}, we should be all set.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)