diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2022-05-23 10:45:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-23 10:45:21 +0300 |
commit | 384efc8958ab9bf1738e4fd5925c8b3e451c3f0f (patch) | |
tree | a5e47b7163cabfa51c1a7d469b410a12f3b407a1 /apps/dav | |
parent | 74d81655e8b0625b436628c34dfc907f6be7f300 (diff) | |
parent | 424fc1b736d1aa21dd1c9c64149b05be93c77cad (diff) |
Merge pull request #32519 from nextcloud/rename-webcal-user-agent
Rename user-agent used by the Webcal Refresh Service
Diffstat (limited to 'apps/dav')
-rw-r--r-- | apps/dav/lib/CalDAV/WebcalCaching/RefreshWebcalService.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/CalDAV/WebcalCaching/RefreshWebcalService.php b/apps/dav/lib/CalDAV/WebcalCaching/RefreshWebcalService.php index 49f66735345..0dbe7398f52 100644 --- a/apps/dav/lib/CalDAV/WebcalCaching/RefreshWebcalService.php +++ b/apps/dav/lib/CalDAV/WebcalCaching/RefreshWebcalService.php @@ -192,7 +192,7 @@ class RefreshWebcalService { $handlerStack->push(Middleware::mapRequest(function (RequestInterface $request) { return $request ->withHeader('Accept', 'text/calendar, application/calendar+json, application/calendar+xml') - ->withHeader('User-Agent', 'Nextcloud Webcal Crawler'); + ->withHeader('User-Agent', 'Nextcloud Webcal Service'); })); $handlerStack->push(Middleware::mapResponse(function (ResponseInterface $response) use (&$didBreak301Chain, &$latestLocation) { if (!$didBreak301Chain) { |