Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.1.3
-
Fix Version/s: JRuby 1.2
-
Component/s: Core Classes/Modules
-
Labels:None
-
Environment:Ubuntu Linux. Courier IMAP with rawdata:
OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS
-
Testcase included:yes
-
Number of attachments :
Description
I'm experiencing problems authenticating using the standard Net::IMAP#authenticate method.
I've reliably reproduced this bug
on two recent versions of JRuby (1.1.3 released and current SVN Trunk). Version 1.0.3 does not exhibit this bug - the authentication works correctly.
c ruby 1.8.4 also functions correctly.
the code to recreate this is simply:
require 'net/imap'
imap = Net::IMAP.new('mail.example.com')
imap.authenticate('LOGIN', 'example.user@example.com', 'password')
This code executed from either jirb or a standard script with jruby >1.1.3 consistently blocks, and does not exit.