From: Tim Düsterhus Date: Fri, 30 Apr 2021 09:08:19 +0000 (+0200) Subject: Adjust user-Agent comment for URL Unfurling X-Git-Tag: 5.4.0_Alpha_1~22 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fb1494007abc343daaee10515e357207980f2944;p=GitHub%2FWoltLab%2FWCF.git Adjust user-Agent comment for URL Unfurling --- diff --git a/wcfsetup/install/files/lib/system/message/unfurl/UnfurlResponse.class.php b/wcfsetup/install/files/lib/system/message/unfurl/UnfurlResponse.class.php index f53b8c0cf4..5b17e58128 100644 --- a/wcfsetup/install/files/lib/system/message/unfurl/UnfurlResponse.class.php +++ b/wcfsetup/install/files/lib/system/message/unfurl/UnfurlResponse.class.php @@ -328,7 +328,7 @@ final class UnfurlResponse RequestOptions::TIMEOUT => 10, RequestOptions::STREAM => true, RequestOptions::HEADERS => [ - 'user-agent' => HttpFactory::getDefaultUserAgent("UrlUnfurling"), + 'user-agent' => HttpFactory::getDefaultUserAgent("URL Unfurling"), ], RequestOptions::ALLOW_REDIRECTS => [ 'on_redirect' => new RedirectGuard(),