Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the HTTP-BrowserDetect CPAN distribution.

Report information
The Basics
Id: 52007
Status: resolved
Priority: 0/
Queue: HTTP-BrowserDetect

People
Owner: Nobody in particular
Requestors: josh.ritter [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.03
Fixed in: (no value)



Subject: some versions of win8 return undefined version
using the following user agent string Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NETi CLR 3.0.30729; Media Center PC 6.0; MS-RTC LM 8; InfoPath.3; .NET4.0C) chromeframe/4.0 version is reported as 0 using browserdetect 1.03 version is reported as 8 using browserdetect 0.98
I did some more digging and it looks like this bug was introduced in version 1.0 It looks like the new test for 'chrome' browsers is not specific enough. "$tests->{CHROME} = ( index( $ua, "chrome" ) != -1 );"(line 153) This will sets the value of tests->{CHROME} even though i am using the chromeframe, not the browser. On Mon Nov 23 14:58:19 2009, josh.ritter wrote: Show quoted text
> using the following user agent string > > Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; > SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NETi CLR 3.0.30729; > Media Center PC 6.0; MS-RTC LM 8; InfoPath.3; .NET4.0C) chromeframe/4.0 > > version is reported as 0 using browserdetect 1.03 > version is reported as 8 using browserdetect 0.98
On Mon Nov 23 17:22:39 2009, josh.ritter wrote: Show quoted text
> I did some more digging and it looks like this bug was introduced in > version 1.0 > > It looks like the new test for 'chrome' browsers is not specific enough. > "$tests->{CHROME} = ( index( $ua, "chrome" ) != -1 );"(line 153) > > This will sets the value of tests->{CHROME} even though i am using the > chromeframe, not the browser. > > On Mon Nov 23 14:58:19 2009, josh.ritter wrote:
> > using the following user agent string > > > > Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; > > SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NETi CLR 3.0.30729; > > Media Center PC 6.0; MS-RTC LM 8; InfoPath.3; .NET4.0C) chromeframe/4.0 > > > > version is reported as 0 using browserdetect 1.03 > > version is reported as 8 using browserdetect 0.98
> >
Hi Josh, Thanks very much for pointing this out. The code has now been patched and the bug will be fixed in 1.04 Thanks again, Olaf