Feature #1503
closedFirefox crashed because wrong Mime Header on jar files
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
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.
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.
Updated by glen almost 17 years ago
- Status changed from New to Fixed
- Resolution set to fixed
Also available in: Atom