mirror of
https://github.com/webmin/webmin.git
synced 2025-08-19 01:15:14 +00:00
Gzipped files are application/x-gzip mime type https://sourceforge.net/p/webadmin/bugs/5003/
This commit is contained in:
@ -47,7 +47,7 @@ else {
|
|||||||
&unlink_file($temp);
|
&unlink_file($temp);
|
||||||
&error($err);
|
&error($err);
|
||||||
}
|
}
|
||||||
print "Content-type: application/octet-stream\n\n";
|
print "Content-type: application/x-gzip\n\n";
|
||||||
my $buf;
|
my $buf;
|
||||||
open(TEMP, $temp);
|
open(TEMP, $temp);
|
||||||
while(read(TEMP, $buf, 1024)) {
|
while(read(TEMP, $buf, 1024)) {
|
||||||
|
Reference in New Issue
Block a user