Project

General

Profile

Bug #4773

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

Added by okkez (okkez _) about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
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

#1

Updated by naruse (Yui NARUSE) about 9 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r31780.
okkez, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • lib/webrick/https.rb (WEBrick::HTTPRequest#parse_uri): keep parse_uri as private. patched by okkez. [Bug #4773]

Also available in: Atom PDF