Skip to main content

Bug Tracker

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)"

Attachments (0)
Change History (4)

Changed October 01, 2008 02:25PM UTC by flesler comment:1

status: newassigned

Yes, we have quite many tickets on this. We need to do a lot of testing.

Changed October 01, 2008 02:25PM UTC by flesler comment:2

component: unfilledcore

Changed January 14, 2009 04:30AM UTC by dmethvin comment:3

Duplicate of #2661

Changed January 15, 2009 03:21AM UTC by dmethvin comment:4

resolution: → duplicate
status: assignedclosed