Project

General

Profile

Actions

Bug #4773

closed

require 'webrick/https' すると WEBrick::HTTPRequest#parse_uri が public になってしまう

Added by okkez (okkez _) almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Assignee:
-
Target version:
ruby -v:
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux]
Backport:
[ruby-dev:43575]

Description

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

Actions

Also available in: Atom PDF

Like0
Like0