Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google site verification bot is not classified as a bot #323

Closed
saadbinakhlaq opened this issue Oct 30, 2017 · 0 comments
Closed

Google site verification bot is not classified as a bot #323

saadbinakhlaq opened this issue Oct 30, 2017 · 0 comments

Comments

@saadbinakhlaq
Copy link

Description

Google site verification bot Mozilla/5.0 (compatible; Google-Site-Verification/1.0) is not recognized as a bot

How to reproduce

irb(main):025:0> Browser.new("Mozilla/5.0 (compatible; Google-Site-Verification/1.0)").bot?
=> false
irb(main):026:0> Browser.new("Mozilla/5.0 (compatible; Google-Site-Verification/1.0)").device.id
=> :unknown
irb(main):027:0> Browser.new("Mozilla/5.0 (compatible; Google-Site-Verification/1.0)").platform.id
=> :other

What do you expect

Browser.new("Mozilla/5.0 (compatible; Google-Site-Verification/1.0)").bot? # => true

What happened instead

Browser.new("Mozilla/5.0 (compatible; Google-Site-Verification/1.0)").bot? # => false

Software:

  • Rails version: [5.0.1]
  • Browser gem version: [2.2.0]

Full backtrace

Report

@fnando fnando closed this as completed in 244c4af Oct 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant