diff options
author | Johannes Endres <je@johannes-endres.de> | 2025-01-01 19:44:49 +0100 |
---|---|---|
committer | Andy Scherzinger <info@andy-scherzinger.de> | 2025-02-19 18:51:08 +0100 |
commit | ae2cc23658dd3882a4831f292303a911530fb1b3 (patch) | |
tree | 30deef2955ff9152c1229d265512f61343ff0a63 /lib | |
parent | bdc043dd041f3e9db40fdf66dc7d05400971f1a5 (diff) | |
download | nextcloud-server-ae2cc23658dd3882a4831f292303a911530fb1b3.tar.gz nextcloud-server-ae2cc23658dd3882a4831f292303a911530fb1b3.zip |
fix: Change UserAgent to *cloudfix/noid/thudnerbird-addon-useragent
Co-authored-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: Johannes Endres <je@johannes-endres.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/public/IRequest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/IRequest.php b/lib/public/IRequest.php index dedff769f77..2639a234ad5 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 |