Ticket #3402 (closed bug: duplicate)
jQuery.browser.version can be incorrect with mutant IE userAgent strings
|Reported by:||dbergey||Owned by:||flesler|
|Keywords:||browser version msie||Cc:|
jquery.browser.version currently looks at the last match of /ie ([\d.]+)/ .. it should look for all matches, then use the highest found version. In some situations IE 7 will present itself as both IE 7.0 and IE 6.0 for compatibility, and sometimes the declarations get out of order, not to mention adware and toolbars messing with the registry (see: http://jamazon.co.uk/web/2008/07/23/an-ie7-bug-that-returns-msie-60-user-agent-string/). The attached patch supplements the existing userAgent checking, but could be improved upon.