mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-04 14:47:52 +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:
commit
42707053a2
@ -64,7 +64,7 @@ if (isset($_GET['avatar']))
|
||||
$browser = (!empty($_SERVER['HTTP_USER_AGENT'])) ? htmlspecialchars((string) $_SERVER['HTTP_USER_AGENT']) : 'msie 6.0';
|
||||
|
||||
$config = $cache->obtain_config();
|
||||
$filename = $_GET['avatar'];
|
||||
$filename = request_var('avatar', '');
|
||||
$avatar_group = false;
|
||||
$exit = false;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user