[Ruby 1.9 - Bug #4773][Open] require 'webrick/https' すると WEBrick::HTTPRequest#parse uri が public になっ

Issue #4773 has been reported by okkez _.


Bug #4773: require ‘webrick/https’ すると WEBrick::HTTPRequest#parse_uri が
public になってしまう
http://redmine.ruby-lang.org/issues/4773

Author: okkez _
Status: Open
Priority: Normal
Assignee:
Category: lib
Target version: 1.9.2
ruby -v: ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux]

require ‘webrick/https’ すると WEBrick::HTTPRequest#parse_uri が public
になってしまいます。

以下のパッチで WEBrick::HTTPRequest#parse_uri は private になると思います。

Index: lib/webrick/https.rb

— lib/webrick/https.rb (revision 31718)
+++ lib/webrick/https.rb (working copy)
@@ -38,6 +38,7 @@
end
return orig_parse_uri(str)
end

  • private :parse_uri

    alias orig_meta_vars meta_vars

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs