Summary: | bugzilla should not gzip binary files that are already gzipped | ||
---|---|---|---|
Product: | Gentoo Infrastructure | Reporter: | DEMAINE Benoît-Pierre, aka DoubleHP <dhp_gentoo> |
Component: | Bugzilla | Assignee: | Bugzilla Admins <bugzilla> |
Status: | RESOLVED WORKSFORME | ||
Severity: | enhancement | CC: | alecm_88 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Other | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
DEMAINE Benoît-Pierre, aka DoubleHP
2010-09-17 10:45:13 UTC
Use the correct mime-type and it should work, in this case "application/x-compressed-tar". You can even use the auto-detect option when adding an attachment if your browser is able to properly identify the mime-type. # wget 'https://bugs.gentoo.org/attachment.cgi?id=247541' -O test.gz --2011-03-09 18:34:35-- https://bugs.gentoo.org/attachment.cgi?id=247541 Resolving bugs.gentoo.org (bugs.gentoo.org)... 94.100.119.165 Connecting to bugs.gentoo.org (bugs.gentoo.org)|94.100.119.165|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 235677 (230K) [application/x-gzip] Saving to: `test.gz' 100%[======================================>] 235,677 388K/s in 0.6s 2011-03-09 18:34:37 (388 KB/s) - `test.gz' saved [235677/235677] # file test.gz test.gz: gzip compressed data, was "build.log", from Unix, last modified: Wed Sep 15 04:24:25 2010, max compressio # gunzip test.gz # head -n 3 test * CPV: app-office/openoffice-3.2.1 * REPO: gentoo * Maintainer: openoffice@gentoo.org Bugzilla itself doesn't even compress any data as far as I know. |