mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 22:40:39 +02:00
[feature/request-class] Do not html escape user agent in header_filename
PHPBB3-9716
This commit is contained in:
@@ -276,7 +276,7 @@ function header_filename($file)
|
|||||||
{
|
{
|
||||||
global $request;
|
global $request;
|
||||||
|
|
||||||
$user_agent = $request->header('User-Agent', '', true);
|
$user_agent = $request->header('User-Agent');
|
||||||
|
|
||||||
// There be dragons here.
|
// There be dragons here.
|
||||||
// Not many follows the RFC...
|
// Not many follows the RFC...
|
||||||
|
Reference in New Issue
Block a user