From 13945f56a9daf89e5e87b87257c62d89da142aa9 Mon Sep 17 00:00:00 2001 From: rxu Date: Mon, 25 Nov 2024 16:06:44 +0700 Subject: [PATCH] [ticket/17443] Use default */* accept header (like curl etc) PHPBB-17443 --- phpBB/phpbb/file_downloader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/phpbb/file_downloader.php b/phpBB/phpbb/file_downloader.php index c73983f464..0dcb3e5854 100644 --- a/phpBB/phpbb/file_downloader.php +++ b/phpBB/phpbb/file_downloader.php @@ -53,7 +53,7 @@ class file_downloader 'timeout' => $timeout, 'headers' => [ 'user-agent' => 'phpBB/' . PHPBB_VERSION, - 'accept' => 'text/html,application/xhtml+xml,application/xml' + 'accept' => '*/*', ], ]); }