diff --git a/ChangeLog b/ChangeLog index 2f18d63dff..d0b8df3bfd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Dec 24 13:43:34 2003 Shugo Maeda + + * lib/net/imap.rb (authenticate): remove "\n" from base64 encoded + strings. + Wed Dec 24 11:26:41 2003 Nobuyoshi Nakada * test/fileutils/test_fileutils.rb: should not create any diff --git a/lib/net/imap.rb b/lib/net/imap.rb index 475c2ad0de..086717b97e 100644 --- a/lib/net/imap.rb +++ b/lib/net/imap.rb @@ -350,7 +350,7 @@ module Net # :nodoc: send_command("AUTHENTICATE", auth_type) do |resp| if resp.instance_of?(ContinuationRequest) data = authenticator.process(resp.data.text.unpack("m")[0]) - send_data([data].pack("m").chomp) + send_data([data].pack("m").gsub(/\n/, "")) end end end