Project

General

Profile

Feature #1503

Firefox crashed because wrong Mime Header on jar files

Added by Anonymous over 12 years ago. Updated over 12 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

#1

Updated by icy over 12 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.

#2

Updated by Anonymous over 12 years ago

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

#3

Updated by glen over 12 years ago

Committed revision r2050, r2051

#4

Updated by glen over 12 years ago

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

Also available in: Atom