durusmail: quixote-users: guess_browser_version and Mac browsers
guess_browser_version and Mac browsers
guess_browser_version and Mac browsers
Ksenia Marasanova
2004-09-05
Hi,

guess_browser_version function in http_request.py has troubles with
view Mac browsers:

- Safari and OmniWeb are incorrectly detected as 'Mozilla':
- Camino, Netscape and Firefox are (incorrectly?) detected as 'Mozilla'

Opera, Mozilla and IE are detected properly.

Here're all user-agent strings:

Mozilla/5.0 (Macintosh; U; PPC Mac OS X; nl-nl) AppleWebKit/125.4
(KHTML, like Gecko) Safari/125.9
Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US) AppleWebKit/85 (KHTML,
like Gecko) OmniWeb/v558.46
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.2)
Gecko/20040825 Camino/0.8.1
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; nl-NL; rv:1.7.2)
Gecko/20040804 Netscape/7.2
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7)
Gecko/20040614 Firefox/0.9

Opera/7.51 (Mac_PowerPC; U)  [en]
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; nl-NL; rv:1.7)
Gecko/20040616
Mozilla/4.0 (compatible; MSIE 5.23; Mac_PowerPC)


Ksenia.


reply