Project

General

Profile

Bug #4773

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

Added by okkez (okkez _) over 8 years ago. Updated over 8 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

Associated revisions

Revision d5a775f5
Added by naruse (Yui NARUSE) over 8 years ago

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 31780
Added by naruse (Yui NARUSE) over 8 years ago

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

Revision 31780
Added by naruse (Yui NARUSE) over 8 years ago

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

Revision 31780
Added by naruse (Yui NARUSE) over 8 years ago

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

Revision 31780
Added by naruse (Yui NARUSE) over 8 years ago

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

Revision 31780
Added by naruse (Yui NARUSE) over 8 years ago

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

Revision 31780
Added by naruse (Yui NARUSE) over 8 years ago

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

History

#1

Updated by naruse (Yui NARUSE) over 8 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