summaryrefslogtreecommitdiffstats
path: root/lib/private/appframework
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-11-19 17:33:17 +0100
committerLukas Reschke <lukas@owncloud.com>2015-11-22 16:05:52 +0100
commit2d7c9f0ba9f842c4208968a4cff7cb29bdac5388 (patch)
tree622755e0866810bf7c8c8d1b76dccb68e9881284 /lib/private/appframework
parenta05e40932c093609892c12bb5e24a882661075da (diff)
downloadnextcloud-server-2d7c9f0ba9f842c4208968a4cff7cb29bdac5388.tar.gz
nextcloud-server-2d7c9f0ba9f842c4208968a4cff7cb29bdac5388.zip
also match ie11 with Request::USER_AGENT_IE
Diffstat (limited to 'lib/private/appframework')
-rw-r--r--lib/private/appframework/http/request.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/appframework/http/request.php b/lib/private/appframework/http/request.php
index 8400882b88f..ea42c9a8967 100644
--- a/lib/private/appframework/http/request.php
+++ b/lib/private/appframework/http/request.php
@@ -42,7 +42,7 @@ use OCP\Security\ISecureRandom;
*/
class Request implements \ArrayAccess, \Countable, IRequest {
- const USER_AGENT_IE = '/MSIE/';
+ const USER_AGENT_IE = '/(MSIE)|(Trident)/';
const USER_AGENT_IE_8 = '/MSIE 8.0/';
// Android Chrome user agent: https://developers.google.com/chrome/mobile/docs/user-agent
const USER_AGENT_ANDROID_MOBILE_CHROME = '#Android.*Chrome/[.0-9]*#';