Hi Olaf,
Thanks for the many recent changes. Great to see some activity on this
module.
I just wanted to bring a couple of things to your attention regarding
version numbers for Safari, and how they are produced by
HTTP::BrowserDetect.
Some people using HTTP::BrowserDetect for detecting Safari until now
will have been used to it providing a version taken from "Safari/XXX".
While I can see some sense in moving towards using "Version/XXX", this
value won't always be available and therefore HTTP::BrowserDetect will
start to generate 2 distinct types of version numbers for Safari.
It will be important to keep some level of back compatibility for the
many people out there already using the module (this includes me!).
Here is a user agent string from Mac OS X 10.4.9. Please note it doesn't
contain the version the user sees (i.e. "Version/XXX").
Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en) AppleWebKit/418.8 (KHTML,
like Gecko) Safari/419.3
In this example of Mac OS X on Windows, the user agent string does
include "Version/XXX"...
Mozilla/5.0 (Windows; U; Windows NT 5.1; en) AppleWebKit/522.12.1
(KHTML, like Gecko) Version/3.0.1 Safari/522.12.2
HTTP::BrowserDetect 0.99 produced version numbers of the form:
Mac OS X Safari 5.25
Mac OS X Safari 5.3
Mac OS X Safari 5.31
Windows Vista Safari 5.25
Windows Vista Safari 5.3
As far as I understand it, with the proposed changes HTTP::BrowserDetect
may now produce version numbers of the form:
Mac OS X Safari 5.25
Mac OS X Safari 5.3
Mac OS X Safari 5.31
Windows Vista Safari 3.0.3
Windows Vista Safari 3.0.4
With 2 types of version number, it will be harder for people to test
against Safari versions and it may break Safari compatibility with some
applications.
Cheers Pete
Olaf Alders via RT wrote:
Show quoted text> Queue: HTTP-BrowserDetect
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=48727 >
>
> On Tue Oct 20 05:17:20 2009, ROBINS wrote:
>
> Thanks very much for your patch. It has been applied and is now in
> version 1.02, which has been uploaded to the CPAN.
>
> Best,
>
> Olaf
--
Axomic Ltd
56 Compton Street
London EC1V 0ET, UK
t: +44 (0)870 850 0435
m: +44 (0)7812 122418
http://www.axomic.com
The information contained in this message is confidential and should not
be disclosed to any third party whether or not you are the intended
addressee indicated in the message. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
Axomic Ltd. If you are not the intended recipient, be advised that you
have received this email in error and that any use, dissemination,
printing, forwarding or copying of this e mail is strictly prohibited.