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

Hudson commented on TIKA-3776:
------------------------------

FAILURE: Integrated in Jenkins build Tika ยป tika-main-jdk8 #614 (See 
[https://ci-builds.apache.org/job/Tika/job/tika-main-jdk8/614/])
[TIKA-3776] Add mock tests for HttpFetcher (#586) (github: 
[https://github.com/apache/tika/commit/350b430967d4e4f5f930e1f8636834d6d978f851])
* (edit) tika-pipes/tika-fetchers/tika-fetcher-http/pom.xml
* (edit) 
tika-pipes/tika-fetchers/tika-fetcher-http/src/test/java/org/apache/tika/pipes/fetcher/http/HttpFetcherTest.java
* (edit) 
tika-pipes/tika-fetchers/tika-fetcher-http/src/main/java/org/apache/tika/pipes/fetcher/http/HttpFetcher.java
TIKA-3776 -- checkstyle fixes (tallison: 
[https://github.com/apache/tika/commit/47fa2b92d3c8437866a86bbc0204e463be2f47bc])
* (edit) 
tika-pipes/tika-fetchers/tika-fetcher-http/src/test/java/org/apache/tika/pipes/fetcher/http/HttpFetcherTest.java


> HttpFetcher overwrites filename passed in
> -----------------------------------------
>
>                 Key: TIKA-3776
>                 URL: https://issues.apache.org/jira/browse/TIKA-3776
>             Project: Tika
>          Issue Type: Bug
>            Reporter: Tom Brisland
>            Assignee: Tim Allison
>            Priority: Major
>             Fix For: 2.4.1
>
>
> The HttpFetcher spools file content to a temporary file with 
> `TikaInputStream.get()` and passes through the existing metadata. 
> TikaInputStream overwrites the filename with that of the temporary file.
> This means that passing the filename to the detect endpoint as a header is 
> ignored and results from detection are incorrect.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to