[interchange] Update checkout to recognise Internet Explorer 10
Peter Ajamian <[email protected]>
| Newsgroups | gmane.comp.web.interchange.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit 877be7dc9c7fc92ea82512c7479c38de1349437e Author: Peter Ajamian <[email protected]> Date: Thu Sep 19 09:13:17 2013 +1200 Update checkout to recognise Internet Explorer 10 The regexp in the checkout initialization would only recognize IE versions up to 9 before, this updates it to recognize any version over 5. dist/standard/include/checkout/initialization | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) --- diff --git a/dist/standard/include/checkout/initialization b/dist/standard/include/checkout/initialization index 13aec02..9d5e4af 100644 --- a/dist/standard/include/checkout/initialization +++ b/dist/standard/include/checkout/initialization @@ -2,7 +2,7 @@ ## Browser check, standalone so syntax error will not ## kill init code my $regex = $Variable->{MV_DHTML_BROWSER}; - $regex ||= 'MSIE [5-9].*Windows|Mozilla.*Gecko|Opera.*[7-9]'; + $regex ||= 'MSIE (?:[5-9]|\d\d).*Windows|Mozilla.*Gecko|Opera.*[7-9]'; $regex = qr/$regex/; if($Session->{browser} =~ $regex) {