mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-07 01:06:48 +02:00
Merge branch 'ticket/bantu/10038' into develop-olympus
* ticket/bantu/10038: [ticket/10038] Use request_var() in the avatar code path of download/file.php
This commit is contained in:
@@ -64,7 +64,7 @@ if (isset($_GET['avatar']))
|
|||||||
$browser = (!empty($_SERVER['HTTP_USER_AGENT'])) ? htmlspecialchars((string) $_SERVER['HTTP_USER_AGENT']) : 'msie 6.0';
|
$browser = (!empty($_SERVER['HTTP_USER_AGENT'])) ? htmlspecialchars((string) $_SERVER['HTTP_USER_AGENT']) : 'msie 6.0';
|
||||||
|
|
||||||
$config = $cache->obtain_config();
|
$config = $cache->obtain_config();
|
||||||
$filename = $_GET['avatar'];
|
$filename = request_var('avatar', '');
|
||||||
$avatar_group = false;
|
$avatar_group = false;
|
||||||
$exit = false;
|
$exit = false;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user