summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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