urbanadventurer / WhatWeb

Next generation web scanner
https://www.morningstarsecurity.com/research/whatweb
GNU General Public License v2.0
5.47k stars 902 forks source link

Error:URI must be ascii only #223

Closed LinkWj closed 6 years ago

LinkWj commented 6 years ago

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:inmerge' 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:ininject' 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:injoin' from /root/links/WhatWeb/lib/target.rb:244:in get_redirection_target' from ./whatweb:997:inblock (3 levels) in

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

urbanadventurer commented 6 years ago

This is related to the IDN domain issue.

bcoles commented 6 years ago

Duplicate of #102