jDownloads

First of all: Thank you for your time. Thanks for trying to help us making jDownloads a better component. It's very much appreciated!

================================================
THIS BUGTRACKER IS CLOSED!!!
THIS BUGTRACKER IS CLOSED!!!
THIS BUGTRACKER IS CLOSED!!!
================================================

So it is not possible to add new task here.
Please use the support forum when you will do this.

We hope we can go online with a new bugtracker site in the next weeks - we work on it.

Many thanks.
Tasklist

FS#135 - PHP downloads produce incorrect Content-Length: field

Attached to Project: jDownloads
Opened by Anonymous Submitter - Tuesday, 31 January 2012, 21:14 GMT+2
Task Type Bug Report
Category Backend / Core
Status Assigned
Assigned To Administrator (admin)
Operating System Joomla 1.5.x
Severity High
Priority Normal
Reported Version 1.8.2
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

When downloading a file via PHP script, the Content-Length field can incorrectly be set to zero, producing a zero byte download. This can occur if Apache has mod_deflate installed (which it does by default).

To work around change the following lines in jdownloads.php:

if (ini_get('zlib.output_compression')){
ini_set('zlib.output_compression', 'Off');
}

To:

if (ini_get('zlib.output_compression')){
ini_set('zlib.output_compression', 'Off');
}
@apache_setenv('no-gzip', 1);
This task depends upon

Loading...