diff options
author | Stephan Orbaugh <62374139+sorbaugh@users.noreply.github.com> | 2025-02-21 10:27:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-21 10:27:57 +0100 |
commit | 33a12eb3af62ccdc748404757aaa2fe973faefed (patch) | |
tree | 526e5ff8d47ce75cf5de7c257832401f3260a710 /lib | |
parent | bc1943da4b2060a808dff718e49e3cb8d84b09cf (diff) | |
parent | ae2cc23658dd3882a4831f292303a911530fb1b3 (diff) | |
download | nextcloud-server-33a12eb3af62ccdc748404757aaa2fe973faefed.tar.gz nextcloud-server-33a12eb3af62ccdc748404757aaa2fe973faefed.zip |
Merge pull request #50053 from nextcloud/fix/noid/thudnerbird-addon-useragent
fix: Change UserAgent to *cloud
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 |