also match ie11 with Request::USER_AGENT_IE

This commit is contained in:
Robin Appelman 2015-11-19 17:33:17 +01:00 committed by Lukas Reschke
parent a05e40932c
commit 2d7c9f0ba9
1 changed files with 1 additions and 1 deletions

View File

@ -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]*#';