Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-7017

handleResourceRequest sends just the bytes but doesn't set the Content-type header.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Neutral Neutral
    • None
    • None
    • rendering
    • None

      handleResourceRequest method sends just the bytes but doesn't set the Content-type header.
      To reproduce, upload an image directly into the website. Requesting such image outputs this warning:

      "2017-03-23 22:06:04,632 WARN info.magnolia.cms.filters.ContentTypeFilter : Content type for http://localhost/mypage/content/01/image/200220461-001.jpg is not set."
      

        Acceptance criteria

              Unassigned Unassigned
              evystup Ervin Vystup
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD