Skip to content

Commit

Permalink
* lib/net/imap.rb (authenticate): remove "\n" from base64 encoded
Browse files Browse the repository at this point in the history
strings.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
shugo committed Dec 24, 2003
1 parent bba2f6d commit e34f7ef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/net/imap.rb
Expand Up @@ -350,7 +350,7 @@ def authenticate(auth_type, *args)
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
Expand Down

0 comments on commit e34f7ef

Please sign in to comment.