Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-627

Incorrect HTTP Content-Type header for binary artifacts

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      Using the default Winstone Servlet Engine, Hudson returns a HTTP Content-Type
      header of "text/html;charset=UTF-8" for all files. This causes a problem when
      downloading binary artifacts from either archived artifacts or the workspace:
      the browser displays the files' contents inline instead of prompting a Save As
      dialog. (This occurs on Firefox 2.0, but not IE7.)

      Ideally, the MIME type of the artifacts should be auto-detected, and set within
      the Content-Type header.

        Attachments

          Activity

          Hide
          kohsuke Kohsuke Kawaguchi added a comment -

          Fixed in 1.115.

          Show
          kohsuke Kohsuke Kawaguchi added a comment - Fixed in 1.115.
          Hide
          kianwin kianwin added a comment -

          Wow, that was light speed!

          Is the fix contained within build 3376?

          Show
          kianwin kianwin added a comment - Wow, that was light speed! Is the fix contained within build 3376?
          Hide
          kianwin kianwin added a comment -

          Works in 1.115. =)

          Show
          kianwin kianwin added a comment - Works in 1.115. =)

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            kianwin kianwin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: