aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnuplot
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2017-11-01 17:51:18 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-11-01 18:03:10 +0000
commit0a1fb0d91a5354d312ed66ff48393d405b8f522e (patch)
tree4f190f46099faf427594e79490fdfee3d5b299c7 /community/gnuplot
parentb4e57ea9ba009f96f0c61343ab7166217f0d19ff (diff)
downloadaports-0a1fb0d91a5354d312ed66ff48393d405b8f522e.tar.bz2
aports-0a1fb0d91a5354d312ed66ff48393d405b8f522e.tar.xz
community/thttpd: fix serving of .gz and .Z files
thttpd erroneously treats these files as a compressed transfer encoding rather than as a content type. this causes conforming http clients to strip the compression and save a decompressed version when downloading. since this was historically a common httpd bug, some web browsers work around the problem by detecting the .gz extension and ignoring the server's reported transfer encoding, but others, including wget 1.19.2, save a decompressed file, breaking file integrity checking (based on a hash or signature of the original compressed file) and breaking scripts which pass the -z option to tar when extracting. add a patch which removes thttpd's support for extension-based content transfer encodings, and adds the missing mime types for gzip and compress. the patch has been written to be minimally invasive to the program logic, and thus leaves a for loop that breaks on the first iteration rather than rewriting it.
Diffstat (limited to 'community/gnuplot')
0 files changed, 0 insertions, 0 deletions