Project

General

Profile

Actions

Feature #1503

closed

Firefox crashed because wrong Mime Header on jar files

Added by Anonymous almost 17 years ago. Updated almost 17 years ago.

Status:
Fixed
Priority:
Normal
Category:
core
Target version:
ASK QUESTIONS IN Forums:

Description

Lighty sends a wrong Content Type for .jar files; so firefox crashes and the IE hangs.

I compared the output of Apache and Lighty. Lighty sends application/octet-stream and the apache sends application/x-java-archive. I added

".jar" => "application/x-java-archive",

in the mimetype assign section and all was fine :) Please add this line by default to the lighty config to avoid this problem.

-- Robert

Actions #1

Updated by icy almost 17 years ago

application/octet-stream should cause FF, IE and any other browser to display a download dialog.
If it crashes or hangs, there is something seriously broken in the browser because other downloads shouldn't work either.

Not lightys fault.

Actions #2

Updated by Anonymous almost 17 years ago

It isn't the job of the lightty authors to try and cover every MIME type that could possibly exist.

Actions #3

Updated by glen almost 17 years ago

Committed revision r2050, r2051

Actions #4

Updated by glen almost 17 years ago

  • Status changed from New to Fixed
  • Resolution set to fixed
Actions

Also available in: Atom