From b4ae124084a65b027af105e06077b5cf9e7c3023 Mon Sep 17 00:00:00 2001 From: Igor Wiedler Date: Thu, 18 Aug 2011 22:52:09 +0200 Subject: [PATCH] [feature/request-class] Do not html escape user agent in header_filename PHPBB3-9716 --- phpBB/includes/functions_download.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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...