If 'http://' or 'https://' are passed to parse, the following exception occurs:
undefined method `downcase!' for nil:NilClass
This happens here:
domain is nil because the following aggregation of original lines of codes is nil: URI.parse('http://'.to_s).host.
If 'http://' or 'https://' are passed to
parse, the following exception occurs:undefined method `downcase!' for nil:NilClassThis happens here:
ruby-referer-parser/lib/referer-parser/parser.rb
Line 128 in bb9e344
domainis nil because the following aggregation of original lines of codes is nil:URI.parse('http://'.to_s).host.