Patches: Browse | Submit New | Admin

[#6026] net/imap chokes on NOMODSEQ response

Date:
2006-10-05 03:25
Priority:
3
Submitted By:
Justin Collins (presidentbeef)
Assigned To:
Akinori MUSHA (knu)
Category:
Network / Comm / Protocols
State:
Open
Summary:
net/imap chokes on NOMODSEQ response

Detailed description
The response is added in RFC-4551 (http://www.ietf.org/rfc/rfc4551.txt) and is a required response if the server does
not support MODSEQ.

The untagged response looks like:
* OK [NOMODSEQ] Sorry, modsequences have not been enabled on this mailbox

In Net::IMAP#resp_text_code, unspecified response codes are expected to look like:
[<code> <data>]

Since [NOMODSEQ] has no space following "NOMODSEQ", Net::IMAP fails to parse the response.

I just added NOMODSEQ to the other responses which contain no data element.

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
imap.rb.diff net/imap.rb diff Download

Changes:

Field Old Value Date By
assigned_tonone2007-06-13 06:30zenspider
category_idMisc / Other Standard Library2007-05-30 04:12zenspider
category_idCrypto / Digest / Compression2007-05-30 03:50zenspider
artifact_group_idNone2007-05-30 03:41zenspider
File Added840: imap.rb.diff2006-10-05 03:25presidentbeef