diff options
author | Joas Schilling <coding@schilljs.com> | 2017-02-10 10:05:24 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-02-10 10:10:21 +0100 |
commit | 33fb86f68b827692f242107380e4cf3d42f90658 (patch) | |
tree | 5fa2bee19237cf832b2be8be2c7c3210192cf123 /lib/private/AppFramework/Http | |
parent | 397feb9e8ddefcb04ac201bc64fa04ac9b41c7ca (diff) | |
download | nextcloud-server-33fb86f68b827692f242107380e4cf3d42f90658.tar.gz nextcloud-server-33fb86f68b827692f242107380e4cf3d42f90658.zip |
Fix detection of the new iOS app
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/AppFramework/Http')
-rw-r--r-- | lib/private/AppFramework/Http/Request.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/AppFramework/Http/Request.php b/lib/private/AppFramework/Http/Request.php index 404c31879d2..be35f4d172f 100644 --- a/lib/private/AppFramework/Http/Request.php +++ b/lib/private/AppFramework/Http/Request.php @@ -72,7 +72,7 @@ class Request implements \ArrayAccess, \Countable, IRequest { /** * @deprecated use \OCP\IRequest::USER_AGENT_CLIENT_IOS instead */ - const USER_AGENT_OWNCLOUD_IOS = '/^Mozilla\/5\.0 \(iOS\) ownCloud\-iOS.*$/'; + const USER_AGENT_OWNCLOUD_IOS = '/^Mozilla\/5\.0 \(iOS\) (ownCloud|Nextcloud)\-iOS.*$/'; /** * @deprecated use \OCP\IRequest::USER_AGENT_CLIENT_ANDROID instead */ |