Project

General

Profile

Actions

Bug #337

closed

xmlrpc/client.rb is missing webrick library

Added by Anonymous almost 16 years ago. Updated almost 13 years ago.

Status:
Closed
Assignee:
-
ruby -v:
-
[ruby-core:17839]

Description

=begin
At line 571 of xmlrpc/client.rb, the WEBrick::Cookie object is referenced, but webrick.rb is never included, and so the line returns an "uninitialized constant XMLRPC::Client::WEBrick" NameError when do_rpc is called against a service that attempts to set a cookie.

Suggested fix: Add 'require "webrick"' at line 282.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0