|Subject:||Safari version is not correctly detected|
With the following UserAgent string (Safari 4.0.2 for Windows) Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/530.19.2 (KHTML, like Gecko) Version/4.0.2 Safari/530.19.1 it reports version as 5.3, which is obviously wrong (it should be 4.0). I also want to point out that the phrase "KHTML, like Gecko" should be excluded as a match for the "gecko" method, as KHTML is a browser engine of its own, it is not Gecko (even though it likes to lie about itself). In fact, I'd suggest to add a khtml or webkit method aswell. KHTML could cover Konqueror (the KDE browser), and everything else that uses it (Safari+Chrome), and webkit method could just match Safari and Chrome.