From 8541ed6df6a0082cb5f319dcfccd628f8d1d755f Mon Sep 17 00:00:00 2001 From: shugo Date: Tue, 23 Apr 2013 05:07:21 +0000 Subject: * lib/net/imap.rb (getacl_response): parse the mailbox of an ACL response correctly. [ruby-core:54365] [Bug #8281] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/net/imap/test_imap_response_parser.rb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'test/net/imap/test_imap_response_parser.rb') diff --git a/test/net/imap/test_imap_response_parser.rb b/test/net/imap/test_imap_response_parser.rb index 4062e1b9e7..c329f4285f 100644 --- a/test/net/imap/test_imap_response_parser.rb +++ b/test/net/imap/test_imap_response_parser.rb @@ -223,4 +223,18 @@ EOF assert_equal("7BIT", delivery_status.encoding) assert_equal(410, delivery_status.size) end + + # [Bug #8281] + def test_acl + parser = Net::IMAP::ResponseParser.new + response = parser.parse(<