MantisBT: master-1.2.x ff2d2ab8

Author Committer Branch Timestamp Parent
dhx dhx master-1.2.x 2009-10-27 05:24 master-1.2.x faa14562
Affected Issues  0011101: Headers are sent too late in file_download.php (after content has been written)
Changeset

Send headers before output buffer is flushed for file_download.php

Content-* headers and etc should be sent before the output buffer is
flushed at the start of file transfers. These headers have also been
reordered so they're grouped together more logically.

Also inline_file_exts can now be blank without the 'gif' attachment
being forcefully added by Mantis.

mod - file_download.php Diff File