You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tom Brisland (Jira)" <ji...@apache.org> on 2022/05/26 21:08:00 UTC

[jira] [Created] (TIKA-3776) HttpFetcher overwrites filename passed in

Tom Brisland created TIKA-3776:
----------------------------------

             Summary: 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


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)