diff options
author | Julius Härtl <jus@bitgrid.net> | 2021-06-29 18:36:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-29 18:36:51 +0200 |
commit | d1b0ccb715305b08b7f426a287b9929a50c65e49 (patch) | |
tree | 0ef8a63ee8a618428bdf94b4ca074a99c4bf3194 /apps/dav/lib | |
parent | fbc937758e1dd07c5be2780308856298920074b8 (diff) | |
parent | 14c33bb2e9fc32594fdbcffa1edde1f1e15665cc (diff) | |
download | nextcloud-server-d1b0ccb715305b08b7f426a287b9929a50c65e49.tar.gz nextcloud-server-d1b0ccb715305b08b7f426a287b9929a50c65e49.zip |
Merge pull request #27488 from msrn/win10cal-useragent
Add regex to match Windows 10 calendar user-agent
Diffstat (limited to 'apps/dav/lib')
-rw-r--r-- | apps/dav/lib/CalDAV/WebcalCaching/Plugin.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/dav/lib/CalDAV/WebcalCaching/Plugin.php b/apps/dav/lib/CalDAV/WebcalCaching/Plugin.php index 13aef7ed227..3dd8a7c81e5 100644 --- a/apps/dav/lib/CalDAV/WebcalCaching/Plugin.php +++ b/apps/dav/lib/CalDAV/WebcalCaching/Plugin.php @@ -40,9 +40,12 @@ class Plugin extends ServerPlugin { * list of regular expressions for calendar user agents, * that do not support subscriptions on their own * + * /^MSFT-WIN-3/ - Windows 10 Calendar * @var string[] */ - public const ENABLE_FOR_CLIENTS = []; + public const ENABLE_FOR_CLIENTS = [ + "/^MSFT-WIN-3/" + ]; /** * @var bool |