diff options
author | Marc Alexander <admin@m-a-styles.de> | 2019-06-17 10:21:09 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2019-06-17 10:21:09 +0200 |
commit | a6803e6a18d13872ed197eebc246de6586d8bab0 (patch) | |
tree | e3adf43a53f7dea79921c0b1edca5f9da382330a /phpBB/includes/functions_download.php | |
parent | 05f9ef71346651b40f409596ab8b244ce89b978b (diff) | |
parent | 2a0b38cac0765c6aed00b0162b4fa3c03cc38df0 (diff) | |
download | forums-a6803e6a18d13872ed197eebc246de6586d8bab0.tar forums-a6803e6a18d13872ed197eebc246de6586d8bab0.tar.gz forums-a6803e6a18d13872ed197eebc246de6586d8bab0.tar.bz2 forums-a6803e6a18d13872ed197eebc246de6586d8bab0.tar.xz forums-a6803e6a18d13872ed197eebc246de6586d8bab0.zip |
Merge branch '3.2.x' into 3.3.x
Diffstat (limited to 'phpBB/includes/functions_download.php')
-rw-r--r-- | phpBB/includes/functions_download.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_download.php b/phpBB/includes/functions_download.php index 447e89c3bc..d2d3924dd8 100644 --- a/phpBB/includes/functions_download.php +++ b/phpBB/includes/functions_download.php @@ -196,7 +196,7 @@ function send_file_to_browser($attachment, $upload_dir, $category) } // Now the tricky part... let's dance - header('Cache-Control: public'); + header('Cache-Control: private'); // Send out the Headers. Do not set Content-Disposition to inline please, it is a security measure for users using the Internet Explorer. header('Content-Type: ' . $attachment['mimetype']); @@ -443,7 +443,7 @@ function set_modified_headers($stamp, $browser) { send_status_line(304, 'Not Modified'); // seems that we need those too ... browsers - header('Cache-Control: public'); + header('Cache-Control: private'); header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 31536000) . ' GMT'); return true; } |