urbanadventurer / WhatWeb

Next generation web scanner

Home Page:https://www.morningstarsecurity.com/research/whatweb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:in each' 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:in join' from /usr/lib/ruby/2.3.0/uri/common.rb:265:in join'
from /root/links/WhatWeb/lib/target.rb:244:in get_redirection_target' from ./whatweb:997:in block (3 levels) in

'
from ./whatweb:980:in loop' from ./whatweb:980:in block (2 levels) in '

This is related to the IDN domain issue.

Duplicate of #102