summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2017-12-12 12:16:01 +0100
committerBjoern Schiessle <bjoern@schiessle.org>2017-12-12 14:38:36 +0100
commit003c709d25e17e76f1c4a8c0268b360ca803f245 (patch)
treec10fa22709c8dadaa703417ea0b367308747122e /lib
parentf44d5bde5604eab628a4194fb2d111aa84ca2082 (diff)
downloadnextcloud-server-003c709d25e17e76f1c4a8c0268b360ca803f245.tar.gz
nextcloud-server-003c709d25e17e76f1c4a8c0268b360ca803f245.zip
allow 'Nextcloud' in the user agent string of Android
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'lib')
-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 98d8f5bb83a..83cf4c69147 100644
--- a/lib/public/IRequest.php
+++ b/lib/public/IRequest.php
@@ -66,7 +66,7 @@ interface IRequest {
/**
* @since 9.1.0
*/
- const USER_AGENT_CLIENT_ANDROID = '/^Mozilla\/5\.0 \(Android\) ownCloud\-android.*$/';
+ const USER_AGENT_CLIENT_ANDROID = '/^Mozilla\/5\.0 \(Android\) (ownCloud|Nextcloud)\-android.*$/';
/**
* @since 9.1.0