diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2017-12-12 12:16:01 +0100 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2017-12-12 14:38:36 +0100 |
commit | 003c709d25e17e76f1c4a8c0268b360ca803f245 (patch) | |
tree | c10fa22709c8dadaa703417ea0b367308747122e /lib | |
parent | f44d5bde5604eab628a4194fb2d111aa84ca2082 (diff) | |
download | nextcloud-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.php | 2 |
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 |