From 61b8250adc1bca756e92174aa90a49e55efd2804 Mon Sep 17 00:00:00 2001 From: shugo Date: Wed, 5 Jun 2013 13:44:17 +0000 Subject: * lib/net/imap.rb (capability_response): should ignore trailing spaces. Thanks, Peter Kovacs. [ruby-core:55024] [Bug #8415] * test/net/imap/test_imap_response_parser.rb: related test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/net/imap.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/net/imap.rb') diff --git a/lib/net/imap.rb b/lib/net/imap.rb index a816b4e263..55c611b9c6 100644 --- a/lib/net/imap.rb +++ b/lib/net/imap.rb @@ -2953,6 +2953,7 @@ module Net break when T_SPACE shift_token + next end data.push(atom.upcase) end -- cgit v1.2.3