diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-10-06 14:58:07 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-10-09 11:19:06 +0200 |
commit | bf579a153f8f0d6fb081a1d11718ea48c779da34 (patch) | |
tree | 0dff2c0947f8cc14bdf5ca8908355cd4c70e133c /lib/private/appframework | |
parent | c7aef6c36833b1d9bdec9dc30ceb874b8cb93019 (diff) | |
download | nextcloud-server-bf579a153f8f0d6fb081a1d11718ea48c779da34.tar.gz nextcloud-server-bf579a153f8f0d6fb081a1d11718ea48c779da34.zip |
fix IE8 user agent detection
Diffstat (limited to 'lib/private/appframework')
-rw-r--r-- | lib/private/appframework/http/request.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/appframework/http/request.php b/lib/private/appframework/http/request.php index 3e24eec37c8..77785135162 100644 --- a/lib/private/appframework/http/request.php +++ b/lib/private/appframework/http/request.php @@ -43,6 +43,7 @@ use OCP\Security\ISecureRandom; class Request implements \ArrayAccess, \Countable, IRequest { const USER_AGENT_IE = '/MSIE/'; + 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]*#'; const USER_AGENT_FREEBOX = '#^Mozilla/5\.0$#'; |