Skip to content

[JENKINS-3803] Archived artifacts are served with improper mime-types #14326

Description

@jenkins-infra-bot

We use the "Archive build artifacts" to save a number of logs pertaining to the build, these files are
all text files with a ".log" suffix.

Regardless of this however, Hudson still serves these files with the 'application/octet-stream' mime-
type, causing stupid browsers like Firefox to try to download the file instead of render the text.


Originally reported by rtyler, imported from: Archived artifacts are served with improper mime-types
  • status: Closed
  • priority: Major
  • component(s): core
  • resolution: Fixed
  • resolved: 2009-07-15T11:52:47+00:00
  • votes: 0
  • watchers: 0
  • imported: 2025-11-24
Raw content of original issue

We use the "Archive build artifacts" to save a number of logs pertaining to the build, these files are all text files with a ".log" suffix.

Regardless of this however, Hudson still serves these files with the 'application/octet-stream' mime- type, causing stupid browsers like Firefox to try to download the file instead of render the text.

  • environment: Platform: All, OS: All
1 attachment

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions