From: Hiroshi Nakamura Date: 2011-07-25T19:10:29+09:00 Subject: [ruby-core:38476] [Ruby 1.9 - Bug #5046][Assigned] Bug with xmlrpc::client, basic auth and long authentication strings Issue #5046 has been updated by Hiroshi Nakamura. Status changed from Open to Assigned Assignee set to Hiroshi Nakamura ---------------------------------------- Bug #5046: Bug with xmlrpc::client, basic auth and long authentication strings http://redmine.ruby-lang.org/issues/5046 Author: Herwin Weststrate Status: Assigned Priority: Low Assignee: Hiroshi Nakamura Category: lib Target version: 1.9.x ruby -v: 1.9.2-p290 (and earlier releases) XMLRPC::Client has support for basic auth. This tries to encode the combination of the username and password with the base64 algorithm using Array.pack. If however your username and password exceed a certain length the truncate algorithm of Array.pack kicks in and adds a newline character in the result, which creates HTTP headers that are invalid. -- http://redmine.ruby-lang.org