kevinelliott / agent_orange

Parse and process User Agents like a secret one
126 stars 36 forks source link

Chrome on Mac is identified as Safari #15

Closed cw-moshe closed 12 years ago

cw-moshe commented 12 years ago

For this user agent: 5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.165 Safari/535.19

It is identified as Safari when doing: device.engine.browser.to_s

cw-moshe commented 12 years ago

Never mind. Getting the gem directly from git solves it. I guess the gem is outdated.

kevinelliott commented 12 years ago

There are some changes that were committed recently that should resolve this one, though I will have to take a look and confirm. They have not yet been pushed out to a new gem version, but are in the repository if you wish to use the latest and see if it catches this.

On May 1, 2012, at 11:35 AM, cw-moshe wrote:

For this user agent: 5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.165 Safari/535.19

It is identified as Safari when doing: device.engine.browser.to_s


Reply to this email directly or view it on GitHub: https://github.com/kevinelliott/agent_orange/issues/15

cw-moshe commented 12 years ago

Yeah, see above, it's fixed

kevinelliott commented 12 years ago

Oh, I see now. I was responding from email. Thanks!

I'll push out a new gem version today.