From: rocky liu Date: 2013-09-18T06:43:30+08:00 Subject: [ruby-core:57251] Re: [Ruby 1.9 - Bug #5046][Closed] Bug with xmlrpc::client, basic auth and long authentication strings --047d7b66f285ccff5404e69c0c44 Content-Type: text/plain; charset=ISO-8859-1 I'm not concerned about this kind of information, do not send this message to me 2011/7/25 Hiroshi Nakamura > > Issue #5046 has been updated by Hiroshi Nakamura. > > Status changed from Assigned to Closed > Target version changed from 1.9.x to 1.9.3 > > Fixed trunk at r32666 and ruby_1_9_3 at r32668. Thanks! > ---------------------------------------- > Bug #5046: Bug with xmlrpc::client, basic auth and long authentication > strings > http://redmine.ruby-lang.org/issues/5046 > > Author: Herwin Weststrate > Status: Closed > Priority: Low > Assignee: Hiroshi Nakamura > Category: lib > Target version: 1.9.3 > 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 > > --047d7b66f285ccff5404e69c0c44 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I'm not concerned about this kind of information, do not send= this message to me


2011/7/25 Hir= oshi Nakamura <nakahiro@gmail.com>

Issue #5046 has been updated by Hiroshi Nakamura.

Status changed from Assigned to Closed
Target version changed from 1.9.x to 1.9.3

Fixed trunk at r32666 and ruby_1_9_3 at r32668. Thanks!
----------------------------------------
Bug #5046: Bug with xmlrpc::client, basic auth and long authentication stri= ngs
http= ://redmine.ruby-lang.org/issues/5046

Author: Herwin Weststrate
Status: Closed
Priority: Low
Assignee: Hiroshi Nakamura
Category: lib
Target version: 1.9.3
ruby -v: 1.9.2-p290 (and earlier re= leases)


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.r= uby-lang.org


--047d7b66f285ccff5404e69c0c44--