Project

General

Profile

Feature #1503

Firefox crashed because wrong Mime Header on jar files

Added by Anonymous over 11 years ago. Updated over 11 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
core
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Missing in 1.5.x:

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

Associated revisions

Revision 45e388b2 (diff)
Added by glen over 11 years ago

- add .jar mimetype. #1503

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2051 152afb58-edef-0310-8abb-c4023f1b3aa9

History

#1

Updated by icy over 11 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 11 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 11 years ago

Committed revision r2050, r2051

#4

Updated by glen over 11 years ago

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

Also available in: Atom