mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-12 14:28:56 +00:00
Merge pull request #4438 from danchr/ticket/12133
[ticket/12133] fix download file names for WebKit-derived browsers
This commit is contained in:
commit
dccb5564d2
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ function header_filename($file)
|
||||||
|
|
||||||
// There be dragons here.
|
// There be dragons here.
|
||||||
// Not many follows the RFC...
|
// 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);
|
return "filename=" . rawurlencode($file);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue