Ticket #1503 (closed task: fixed)

Opened 6 months ago

Last modified 6 months ago

Firefox crashed because wrong Mime Header on jar files

Reported by: Robert Assigned to: glen
Priority: normal Milestone: 1.5.0
Component: core Version: 1.4.18
Severity: normal Keywords:
Cc: Blocking:
Need Feedback: 0

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.

Attachments

Change History

01/03/2008 08:04:31 PM changed by icy

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.

01/04/2008 05:43:12 AM changed by anonymous

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

01/17/2008 12:40:04 PM changed by glen

  • owner changed from jan to glen.

01/17/2008 12:41:51 PM changed by glen

Committed revision [2050], [2051]

01/18/2008 12:45:19 PM changed by glen

  • status changed from new to closed.
  • resolution set to fixed.

Add/Change #1503 (Firefox crashed because wrong Mime Header on jar files)




Change Properties
Action