Incorrect detection - linux ppc [konqueror]
Brought to you by:
epsilon7
Hi,
when running phpSniff with linux ppc it is detected as
platform: mac
os: ppc
Browser-String:
mozilla/5.0 (compatible; konqueror/3.3; linux; x11; ppc; de)
(khtml, like gecko)
phpSniff version
Problem is that in phpSniff.core.php in function
_get_os_info () a macintosh platform is detected, because
regexp_mac matches and it never gets to the point
checking for linux because of the elsif-statements
To solve the problem I moved the test for macintosh at the
end of the list...
this works for me and it seems that "real" macintosh
browsers are not affected
Gordin
bugreports at mockies dot de