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: 50717
Status: resolved
Priority: 0/
Queue: HTTP-BrowserDetect

People
Owner: Nobody in particular
Requestors: ROBINS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.02
Fixed in: (no value)



Subject: Opera 10.0 is reported as Opera 9.8
This is the UA string: Opera/9.80 (Windows NT 6.0; U; en) Presto/2.2.15 Version/10.00 It seems like Opera has followed suit with Safari in using "Version/XX.XX" to indicate the client-side version number of their application. Just as in #48727 the version of the rendering engine is a separate number. But in this case, 9.80 doesn't seem to have any connection with either the client-side version or the version number of the rendering engine. Should a presto() method also be added?
From: olaf [...] wundersolutions.com
On Wed Oct 21 13:08:42 2009, ROBINS wrote: Show quoted text
> This is the UA string: > > Opera/9.80 (Windows NT 6.0; U; en) Presto/2.2.15 Version/10.00 > > It seems like Opera has followed suit with Safari in using > "Version/XX.XX" to indicate the client-side version number of their > application. > > Just as in #48727 the version of the rendering engine is a separate > number. But in this case, 9.80 doesn't seem to have any connection with > either the client-side version or the version number of the rendering > engine. > > Should a presto() method also be added?
I would say a presto() method would be a good idea. It also raises the question of whether the following generic methods would be useful: rendering_engine() rendering_engine_version() Or, have rendering_engine() return an object with you could call a version() and name() method on: my $renderer_version = $browser_detect->renderer->version
On Wed Oct 21 13:29:24 2009, OALDERS wrote: Show quoted text
> On Wed Oct 21 13:08:42 2009, ROBINS wrote:
> > This is the UA string: > > > > Opera/9.80 (Windows NT 6.0; U; en) Presto/2.2.15 Version/10.00 > > > > It seems like Opera has followed suit with Safari in using > > "Version/XX.XX" to indicate the client-side version number of their > > application. > > > > Just as in #48727 the version of the rendering engine is a separate > > number. But in this case, 9.80 doesn't seem to have any connection with > > either the client-side version or the version number of the rendering > > engine. > > > > Should a presto() method also be added?
> > I would say a presto() method would be a good idea. It also raises the > question of whether the following generic methods would be useful: > > rendering_engine() > rendering_engine_version() > > Or, have rendering_engine() return an object with you could call a > version() and name() method on: > > my $renderer_version = $browser_detect->renderer->version
Hi Robin, The version # is now correctly detected in 1.13 Best, Olaf