From 33fb86f68b827692f242107380e4cf3d42f90658 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 10 Feb 2017 10:05:24 +0100 Subject: Fix detection of the new iOS app Signed-off-by: Joas Schilling --- lib/private/AppFramework/Http/Request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/AppFramework/Http') 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 */ -- cgit v1.2.3