From 65a1595be46303afae1053a8ea3e5ecbf9dfc8b1 Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Sun, 18 Apr 2021 08:29:34 +0200 Subject: Patch mime_guess to stop Firefox from becoming confused (fixes #160) This was a pretty weird one. Turns out that if Firefox attempts to a open a .gz file directly but the MIME type is set as application/x-gzip instead of the more correct application/gzip then the file will somehow corrupt. I suspect it's trying to double-decode the file. --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 488a3c2..9713c49 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Wrap breadcrumbs at any char [#496](https://github.com/svenstaro/miniserve/pull/496) (thanks @aliemjay) - Add separate flags for compressed and uncompressed tar archives [#492](https://github.com/svenstaro/miniserve/pull/492) (thanks @deantvv) - Bump deps +- Fix Firefox becoming confused when opening a `.gz` file directly [#160](https://github.com/svenstaro/miniserve/issues/160) ## [0.13.0] - 2021-03-28 - Change default log level to `Warn` -- cgit v1.2.3