Bug 35571 - opac-rertrieve-file.pl does not serve files with the correct mimetype
Summary: opac-rertrieve-file.pl does not serve files with the correct mimetype
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-14 13:59 UTC by Nick Clemens (kidclamp)
Modified: 2023-12-14 13:59 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Clemens (kidclamp) 2023-12-14 13:59:48 UTC
Some libraries use this feature to host files for news or other uses

When using this to display an image we don't send image headers, so the browser downloads the file.

If we were to save the mimetype for uploads we could serve the images or other files in a more correct manner