[ https://issues.apache.org/jira/browse/TIKA-3776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17542724#comment-17542724 ]
Hudson commented on TIKA-3776: ------------------------------ SUCCESS: Integrated in Jenkins build Tika ยป tika-main-jdk8 #611 (See [https://ci-builds.apache.org/job/Tika/job/tika-main-jdk8/611/]) TIKA-3776 -- don't overwrite file name if it exists in the metadata already. The goal is not to overwrite the file name with a temp file name. (tallison: [https://github.com/apache/tika/commit/636adeaadaf3bea4c54847aeebbd0c9ebc9b7065]) * (edit) tika-core/src/main/java/org/apache/tika/io/TikaInputStream.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 > > 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)