diff options
author | Marc Alexander <admin@m-a-styles.de> | 2016-09-09 23:39:20 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2016-09-09 23:39:20 +0200 |
commit | dccb5564d2ed2e3e2247bd481c4ba70a6d1317a4 (patch) | |
tree | 90700cfb6e62a9890c353aaca429f5036fb033bc | |
parent | 857a085496435e8e3a18c06505d05bd41252a568 (diff) | |
parent | ce48b4de57e55ebdb6ee4bbc2eac2f81998cc671 (diff) | |
download | forums-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.php | 2 |
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); } |