You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ArgumentError: invalid byte sequence in US-ASCII
from public_suffix/list.rb:89:in `strip!'
from public_suffix/list.rb:89:in `block (2 levels) in parse'
from public_suffix/list.rb:88:in `each_line'
from public_suffix/list.rb:88:in `block in parse'
from public_suffix/list.rb:128:in `initialize'
from public_suffix/list.rb:87:in `new'
from public_suffix/list.rb:87:in `parse'
from twingly/public_suffix_list.rb:12:in `with_punycoded_names'
from twingly/url.rb:15:in `<class:URL>'
from twingly/url.rb:11:in `<module:Twingly>'
from twingly/url.rb:10:in `<top (required)>'
from twingly/url/hasher.rb:3:in `require_relative'
from twingly/url/hasher.rb:3:in `<top (required)>'
from /home/deploy/twingly-wally/releases/20160916113112/lib/models/...
Fortunately, we read the list ourselves, so we can read it with the correct encoding.
Seen in an application not using
LANG=en_US.UTF-8
:Fortunately, we read the list ourselves, so we can read it with the correct encoding.
(public_suffix just trusts the default encoding: https://github.com/weppos/publicsuffix-ruby/blob/v2.0.2/lib/public_suffix/list.rb#L52)
The text was updated successfully, but these errors were encountered: