[Koha-bugs] [Bug 35571] New: opac-rertrieve-file.pl does not serve files with the correct mimetype

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 14 14:59:48 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35571

            Bug ID: 35571
           Summary: opac-rertrieve-file.pl does not serve files with the
                    correct mimetype
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list