以下で回避できるようです。
lang
1require 'net/http'
2require 'open-uri'
3
4def hopen(url)
5begin
6open(url)
7rescue URI::InvalidURIError
8host = url.match(".+\:\/\/([^\/]+)")[1]
9path = url.partition(host)[2] || "/"
10Net::HTTP.get host, path
11end
12end
13
14resp = hopen("http://example_domain.com")
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。