Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-3249

Servlet container dependent mimetypes for attachments

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.2, 1.8 RC1
    • Fix Version/s: 5.2-rc-1
    • Component/s: Old Core
    • Labels:
    • Tests:
      Unit
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      The mime types of the attachments are dependent of the servlet container in which the XWiki instance is deployed.

      This is particularly annoying for image attachments, which are not served universally, for example the .bmp files are unknown for jetty container (therefore application/octet-stream) but well images for tomcat. See related bug for usecases.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tmortagne Thomas Mortagne
                Reporter:
                lucaa Anca Luca
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: