mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/net/imap.rb (authenticate): remove "\n" from base64 encoded
strings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bba2f6d405
commit
e34f7ef3cc
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Wed Dec 24 13:43:34 2003 Shugo Maeda <shugo@ruby-lang.org>
|
||||
|
||||
* lib/net/imap.rb (authenticate): remove "\n" from base64 encoded
|
||||
strings.
|
||||
|
||||
Wed Dec 24 11:26:41 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* test/fileutils/test_fileutils.rb: should not create any
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue