From b61ae01c52130f57b09bee15748a3fc5849fcb39 Mon Sep 17 00:00:00 2001 From: Johannes Endres Date: Wed, 1 Jan 2025 19:44:49 +0100 Subject: fix: Change UserAgent to *cloud Co-authored-by: Daniel Kesselberg Signed-off-by: Johannes Endres --- lib/public/IRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/public/IRequest.php b/lib/public/IRequest.php index 18efd7a6d16..a5b1660d89d 100644 --- a/lib/public/IRequest.php +++ b/lib/public/IRequest.php @@ -84,7 +84,7 @@ interface IRequest { * @since 13.0.1 * @since 28.0.0 The regex has a group matching the version number */ - public const USER_AGENT_THUNDERBIRD_ADDON = '/^Mozilla\/5\.0 \([A-Za-z ]+\) Nextcloud\-Thunderbird v([^ ]*).*$/'; + public const USER_AGENT_THUNDERBIRD_ADDON = '/^Filelink for \*cloud\/([1-9]\d*\.\d+\.\d+)$/'; /** * @since 26.0.0 -- cgit v1.2.3