Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-02-10 12:05:24 +0300
committerJoas Schilling <coding@schilljs.com>2017-02-10 12:10:21 +0300
commit33fb86f68b827692f242107380e4cf3d42f90658 (patch)
tree5fa2bee19237cf832b2be8be2c7c3210192cf123 /lib/public/IRequest.php
parent397feb9e8ddefcb04ac201bc64fa04ac9b41c7ca (diff)
Fix detection of the new iOS app
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public/IRequest.php')
-rw-r--r--lib/public/IRequest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/IRequest.php b/lib/public/IRequest.php
index b36a934b0c2..98d8f5bb83a 100644
--- a/lib/public/IRequest.php
+++ b/lib/public/IRequest.php
@@ -76,7 +76,7 @@ interface IRequest {
/**
* @since 9.1.0
*/
- const USER_AGENT_CLIENT_IOS = '/^Mozilla\/5\.0 \(iOS\) ownCloud\-iOS.*$/';
+ const USER_AGENT_CLIENT_IOS = '/^Mozilla\/5\.0 \(iOS\) (ownCloud|Nextcloud)\-iOS.*$/';
/**
* @param string $name