diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-12-23 10:26:33 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-12-23 10:28:40 +0000 |
commit | 7d017d92f3908a1492f92818f6f783124f4df7a3 (patch) | |
tree | fc52bba2d492eaeed52c7c2d896373432e51d889 /usr/local/www/exec.php | |
parent | ba0be4636ef1fc8884e208ae250f695016066773 (diff) | |
download | pfsense-7d017d92f3908a1492f92818f6f783124f4df7a3.zip pfsense-7d017d92f3908a1492f92818f6f783124f4df7a3.tar.gz |
Commit fix present in Ticket #244.
Diffstat (limited to 'usr/local/www/exec.php')
-rwxr-xr-x | usr/local/www/exec.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/exec.php b/usr/local/www/exec.php index b680145..957c91c 100755 --- a/usr/local/www/exec.php +++ b/usr/local/www/exec.php @@ -47,6 +47,8 @@ if (($_POST['submit'] == "Download") && file_exists($_POST['dlPath'])) { header("Content-Length: " . filesize($_POST['dlPath'])); header("Content-Disposition: attachment; filename=\"" . trim(htmlentities(basename($_POST['dlPath']))) . "\""); + header("Pragma: private"); + header("Cache-Control: private, must-revalidate"); fpassthru($fd); exit; |