diff --git a/app/controllers/impressionist_appliation_controller.rb b/app/controllers/impressionist_appliation_controller.rb index 745781e..52904c8 100644 --- a/app/controllers/impressionist_appliation_controller.rb +++ b/app/controllers/impressionist_appliation_controller.rb @@ -43,7 +43,7 @@ class ApplicationController < ActionController::Base private def bypass Impressionist::Bots::WILD_CARDS.each do |wild_card| - return true if request.user_agent.include? wild_card + return true if request.user_agent.downcase.include? wild_card end Impressionist::Bots::LIST.include? request.user_agent end