From: Yui NARUSE Date: 2009-11-15T13:40:30+09:00 Subject: [ruby-dev:39691] [Bug #2368](Rejected) URI.regexp にマッチする文字列が URI.parse できないことがある チケット #2368 が更新されました。 (by Yui NARUSE) ステータス OpenからRejectedに変更 http://www.ietf.org/rfc/rfc3986 の [Page 20] にて、 以下の通り禁止されているため、"http://" は不正な URI であり、例外は妥当でしょう。 If the URI scheme defines a default for host, then that default applies when the host subcomponent is undefined or when the registered name is empty (zero length). For example, the "file" URI scheme is defined so that no authority, an empty host, and "localhost" all mean the end-user's machine, whereas the "http" scheme considers a missing authority or empty host invalid. ---------------------------------------- http://redmine.ruby-lang.org/issues/show/2368 ---------------------------------------- http://redmine.ruby-lang.org