[safely] incompatible encoding regexp match (UTF-8 regexp with ASCII-8BIT string)
Closed this issue · 0 comments
QueeniePeng commented
/gems/device_detector-1.1.0/lib/device_detector/device.rb:1560 in block in regex_find
/gems/device_detector-1.1.0/lib/device_detector/device.rb:1560 in each
/gems/device_detector-1.1.0/lib/device_detector/device.rb:1560 in find
/gems/device_detector-1.1.0/lib/device_detector/device.rb:1560 in regex_find
/gems/device_detector-1.1.0/lib/device_detector/device.rb:1535 in block in matching_regex
/gems/device_detector-1.1.0/lib/device_detector/parser.rb:92 in block in from_cache
/gems/device_detector-1.1.0/lib/device_detector/memory_cache.rb:38 in get_or_set
/gems/device_detector-1.1.0/lib/device_detector/parser.rb:92 in from_cache
/gems/device_detector-1.1.0/lib/device_detector/device.rb:1531 in matching_regex
/gems/device_detector-1.1.0/lib/device_detector/parser.rb:31 in regex_meta
/gems/device_detector-1.1.0/lib/device_detector/device.rb:1505 in type
/gems/device_detector-1.1.0/lib/device_detector.rb:67 in device_type
/gems/ahoy_matey-4.1.0/lib/ahoy/base_store.rb:59 in bot?
/gems/ahoy_matey-4.1.0/lib/ahoy/base_store.rb:39 in exclude?
/gems/ahoy_matey-4.1.0/lib/ahoy/tracker.rb:189 in exclude?
/gems/ahoy_matey-4.1.0/lib/ahoy/tracker.rb:20 in track
app/controllers/application_controller.rb:14 in track_action
12:
properties[:method] = request.method
13:
14:
ahoy.track request.fullpath, properties
15:
end
16:
end