Skip to content
Snippets Groups Projects
Commit 2d7c9f0b authored by Robin Appelman's avatar Robin Appelman Committed by Lukas Reschke
Browse files

also match ie11 with Request::USER_AGENT_IE

parent a05e4093
No related branches found
No related tags found
No related merge requests found
......@@ -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]*#';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment