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

Set contentType correctly in ImagingServlet

    XMLWordPrintable

Details

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

    Description

      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).

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

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