Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-3776

HttpFetcher overwrites filename passed in

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.4.1
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              tallison Tim Allison
              tombrisland Tom Brisland
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: