Issue #16626 has been reported by nevans (Nicholas Evans).

----------------------------------------
Bug #16626: net/imap: Parsing CAPABILITY data for ResponseCode
https://bugs.ruby-lang.org/issues/16626

* Author: nevans (Nicholas Evans)
* Status: Open
* Priority: Normal
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
In RFC3501, "capability-data" is found both in "response-data" and in
"resp-text-code".  Many IMAP servers return CAPABILITY codes in the
server greeting or in the tagged OK for STARTTLS, LOGIN, or
AUTHENTICATE.

This adds parsing for CAPABILITY data in a ResponseCode, the same as
already existed for CAPABILITY data in an UntaggedResponse.

See also the github PR: https://github.com/ruby/ruby/pull/2890


---Files--------------------------------
0001-net-imap-Parsing-CAPABILITY-data-for-ResponseCode.patch (3.45 KB)
0002-net-imap-do-not-return-leading-space-in-resp-text.patch (1.54 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>