Error:URI must be ascii only
LinkWj opened this issue · comments
Ruby version: 2.3.3p222
User WhatWeb 0.4.8 is ok,but User 0.4.9 have error:
/usr/lib/ruby/2.3.0/uri/generic.rb:1102:in
'rescue in merge': URI must be ascii only "http://\xEF\xBB\xBFidhost.kz/" (URI::InvalidURIError) from /usr/lib/ruby/2.3.0/uri/generic.rb:1099:in
merge'
from /usr/lib/ruby/2.3.0/uri/rfc3986_parser.rb:89:ineach' from /usr/lib/ruby/2.3.0/uri/rfc3986_parser.rb:89:in
inject'
from /usr/lib/ruby/2.3.0/uri/rfc3986_parser.rb:89:injoin' from /usr/lib/ruby/2.3.0/uri/common.rb:265:in
join'
from /root/links/WhatWeb/lib/target.rb:244:inget_redirection_target' from ./whatweb:997:in
block (3 levels) in
from ./whatweb:980:inloop' from ./whatweb:980:in
block (2 levels) in '
This is related to the IDN domain issue.