Mercurial > hg-stable
changeset 2361:d3adb454c5a9
Fix automatic decompression of tarballs with Firefox.
The encoding was set to gzip/bzip2, so Firefox (correctly) assumed, that this
has to be "decoded" (i.e. decompressed).
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Thu, 01 Jun 2006 18:36:32 +0200 |
parents | 25ec4981883e |
children | 482d3fb47d80 |
files | mercurial/hgweb/hgweb_mod.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/hgweb/hgweb_mod.py Thu Jun 01 09:14:27 2006 -0500 +++ b/mercurial/hgweb/hgweb_mod.py Thu Jun 01 18:36:32 2006 +0200 @@ -624,8 +624,8 @@ diff=diff) archive_specs = { - 'bz2': ('application/x-tar', 'tbz2', '.tar.bz2', 'x-bzip2'), - 'gz': ('application/x-tar', 'tgz', '.tar.gz', 'x-gzip'), + 'bz2': ('application/x-tar', 'tbz2', '.tar.bz2', None), + 'gz': ('application/x-tar', 'tgz', '.tar.gz', None), 'zip': ('application/zip', 'zip', '.zip', None), }