summaryrefslogtreecommitdiffstats
path: root/usr/local/www/exec.php
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-12-23 10:26:33 +0000
committerErmal Luçi <eri@pfsense.org>2009-12-23 10:28:40 +0000
commit7d017d92f3908a1492f92818f6f783124f4df7a3 (patch)
treefc52bba2d492eaeed52c7c2d896373432e51d889 /usr/local/www/exec.php
parentba0be4636ef1fc8884e208ae250f695016066773 (diff)
downloadpfsense-7d017d92f3908a1492f92818f6f783124f4df7a3.zip
pfsense-7d017d92f3908a1492f92818f6f783124f4df7a3.tar.gz
Commit fix present in Ticket #244.
Diffstat (limited to 'usr/local/www/exec.php')
-rwxr-xr-xusr/local/www/exec.php2
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;
OpenPOWER on IntegriCloud