diff --git a/phpBB/phpbb/file_downloader.php b/phpBB/phpbb/file_downloader.php index 14607ece0c..c73983f464 100644 --- a/phpBB/phpbb/file_downloader.php +++ b/phpBB/phpbb/file_downloader.php @@ -51,6 +51,10 @@ class file_downloader return new Client([ 'base_uri' => $host, 'timeout' => $timeout, + 'headers' => [ + 'user-agent' => 'phpBB/' . PHPBB_VERSION, + 'accept' => 'text/html,application/xhtml+xml,application/xml' + ], ]); }