Side navigation
#3429 closed bug (duplicate)
Opened September 30, 2008 07:46PM UTC
Closed January 15, 2009 03:21AM UTC
Detecting of agent's version
Reported by: | sms-send | Owned by: | flesler |
---|---|---|---|
Priority: | major | Milestone: | 1.3 |
Component: | core | Version: | 1.2.6 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
jQuery.browser = {
version: (userAgent.match( /.+(?:rv|it|ra|ie)[\\/: ]([\\d.]+)/ ) || [])[1],
...
};
Please, replace ".+" with ".+?" to find real version (MSIE 7.0) in agents like this:
"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; WebMoney Advisor; MRA 4.9 (build 01863); Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; MEGAUPLOAD 2.0; InfoPath.2; .NET CLR 1.1.4322)"
Yes, we have quite many tickets on this. We need to do a lot of testing.