aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2016-09-09 23:39:20 +0200
committerMarc Alexander <admin@m-a-styles.de>2016-09-09 23:39:20 +0200
commitdccb5564d2ed2e3e2247bd481c4ba70a6d1317a4 (patch)
tree90700cfb6e62a9890c353aaca429f5036fb033bc
parent857a085496435e8e3a18c06505d05bd41252a568 (diff)
parentce48b4de57e55ebdb6ee4bbc2eac2f81998cc671 (diff)
downloadforums-dccb5564d2ed2e3e2247bd481c4ba70a6d1317a4.tar
forums-dccb5564d2ed2e3e2247bd481c4ba70a6d1317a4.tar.gz
forums-dccb5564d2ed2e3e2247bd481c4ba70a6d1317a4.tar.bz2
forums-dccb5564d2ed2e3e2247bd481c4ba70a6d1317a4.tar.xz
forums-dccb5564d2ed2e3e2247bd481c4ba70a6d1317a4.zip
Merge pull request #4438 from danchr/ticket/12133
[ticket/12133] fix download file names for WebKit-derived browsers
-rw-r--r--phpBB/includes/functions_download.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_download.php b/phpBB/includes/functions_download.php
index 2c6f62227c..c571de579e 100644
--- a/phpBB/includes/functions_download.php
+++ b/phpBB/includes/functions_download.php
@@ -284,7 +284,7 @@ function header_filename($file)
// There be dragons here.
// Not many follows the RFC...
- if (strpos($user_agent, 'MSIE') !== false || strpos($user_agent, 'Safari') !== false || strpos($user_agent, 'Konqueror') !== false)
+ if (strpos($user_agent, 'MSIE') !== false || strpos($user_agent, 'Konqueror') !== false)
{
return "filename=" . rawurlencode($file);
}