Uploaded image for project: 'Imaging'
  1. Imaging
  2. MGNLIMG-171

Set contentType correctly in ImagingServlet

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 3.1.5, 3.1.5-java7, 3.2.3
    • None
    • None
    • None
    • Kromeriz 11
    • 1

      Right now ImagingServlet sets up the ContentType, but it creates invalid types for some formats.

      E.g. image/jpg should be image/jpeg.

      The fix involves checking configured mime mapping in config:/server/MIMEMapping via MIMEMapping.getMIMEType(String).

        Acceptance criteria

              rsiska Robert Šiška
              rsiska Robert Šiška
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 0.25d
                  0.25d