From cdfeeceec7dc28daf84faa3874bfbb58967b12c4 Mon Sep 17 00:00:00 2001 From: mattab <matthieu.aubry@gmail.com> Date: Wed, 23 Oct 2013 14:08:14 +1300 Subject: [PATCH] Fix build where MSIE 10.6 was detected as matching the rule - regex: 'IE[ /](\d+\.\d+)' but below this rule there was the proper rule: - regex: 'MSIE (\d+\.\d+)' name: Internet Explorer version: '$1' so I simply move it down and detection now works as expected (at least as much as our tests test for ) --- .../UserAgentParserEnhanced/regexes/browsers.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/DevicesDetection/UserAgentParserEnhanced/regexes/browsers.yml b/plugins/DevicesDetection/UserAgentParserEnhanced/regexes/browsers.yml index ed4c6c1fe9..b70ab1a26a 100644 --- a/plugins/DevicesDetection/UserAgentParserEnhanced/regexes/browsers.yml +++ b/plugins/DevicesDetection/UserAgentParserEnhanced/regexes/browsers.yml @@ -264,9 +264,6 @@ - regex: 'IEMobile[ /](\d+\.\d+)' name: IE Mobile version: '$1' -- regex: 'IE[ /](\d+\.\d+)' - name: Internet Explorer - version: '$1' - regex: 'MSIE.*Trident/4.0' name: Internet Explorer version: 8.0 @@ -285,7 +282,10 @@ - regex: 'MSIE (\d+\.\d+)' name: Internet Explorer version: '$1' - +- regex: 'IE[ /](\d+\.\d+)' + name: Internet Explorer + version: '$1' + #Iron - regex: 'Iron/(\d+\.\d+)' name: Iron -- GitLab