Bug in browser detection

(alpha_one_x86) #1

Hello, my browser indent:
Mozilla/5.0 (compatible; Konqueror/4.3; Linux; X11; en_US) KHTML/4.3.2 (like Gecko)
But it can by too:
Mozilla/5.0 (compatible; Konqueror/4.3; Linux; X11) KHTML/4.3.2 (like Gecko)
Mozilla/5.0 (compatible; Konqueror/4.3; Linux) KHTML/4.3.2 (like Gecko)
Mozilla/5.0 (compatible; Konqueror/4.3; Linux 2.6.30-gentoo-r8-amber) KHTML/4.3.2 (like Gecko)
Mozilla/5.0 (compatible; Konqueror/4.3) KHTML/4.3.2 (like Gecko)
Piwik detect this browser:
Safari 419.3
Thanks to fix it.

(vipsoft) #2

What version of Piwik are you running?

(alpha_one_x86) #3

piwik 4.4

(vipsoft) #4

These should already be properly recognized in 0.4.4.

See: libs/UserAgentParser/test.php

(alpha_one_x86) #5

Can you test? konqueror is runable under windows (kde for windows) or in live cd of linux, or you can directly test this string in php…

(vipsoft) #6

I tested all these user agent strings, and it identified the browser as Konqueror.