diff options
| author | Igor Wiedler <igor@wiedler.ch> | 2011-08-18 22:52:09 +0200 |
|---|---|---|
| committer | Igor Wiedler <igor@wiedler.ch> | 2011-08-18 22:52:09 +0200 |
| commit | b4ae124084a65b027af105e06077b5cf9e7c3023 (patch) | |
| tree | c2cf80a37b7f2ed11c8962c28bd50ef35bd7e758 | |
| parent | 38c65da553c83e787d8a8adc1d40d789713579c4 (diff) | |
| download | forums-b4ae124084a65b027af105e06077b5cf9e7c3023.tar forums-b4ae124084a65b027af105e06077b5cf9e7c3023.tar.gz forums-b4ae124084a65b027af105e06077b5cf9e7c3023.tar.bz2 forums-b4ae124084a65b027af105e06077b5cf9e7c3023.tar.xz forums-b4ae124084a65b027af105e06077b5cf9e7c3023.zip | |
[feature/request-class] Do not html escape user agent in header_filename
PHPBB3-9716
| -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 3fa5a45a1c..bcb360cac7 100644 --- a/phpBB/includes/functions_download.php +++ b/phpBB/includes/functions_download.php @@ -276,7 +276,7 @@ function header_filename($file) { global $request; - $user_agent = $request->header('User-Agent', '', true); + $user_agent = $request->header('User-Agent'); // There be dragons here. // Not many follows the RFC... |
