[#66126] Creation/Conversion methods/functions table for Ruby types — SASADA Koichi <ko1@...>
Hi,
5 messages
2014/11/07
[#66248] [ruby-trunk - Feature #10423] [PATCH] opt_str_lit*: avoid literal string allocations — normalperson@...
Issue #10423 has been updated by Eric Wong.
3 messages
2014/11/13
[#66595] [ruby-trunk - Bug #10557] [Open] Block not given when the argument is a string — bartosz@...
Issue #10557 has been reported by Bartosz Kopinski.
3 messages
2014/11/30
[ruby-core:66265] [ruby-trunk - Bug #10112] [Closed] NET::IMAP fails to parse uid_search/search response with MODSEQ search criteria
From:
shugo@...
Date:
2014-11-13 16:32:32 UTC
List:
ruby-core #66265
Issue #10112 has been updated by Shugo Maeda.
Status changed from Assigned to Closed
% Done changed from 0 to 100
Applied in changeset r48411.
----------
* lib/net/imap.rb (search_response): parse MODSEQ in SEARCH
responses properly. [ruby-core:64203] [Bug #10112]
----------------------------------------
Bug #10112: NET::IMAP fails to parse uid_search/search response with MODSEQ search criteria
https://bugs.ruby-lang.org/issues/10112#change-49942
* Author: Philippe-Antoine Lehoux
* Status: Closed
* Priority: Normal
* Assignee: Shugo Maeda
* Category: lib
* Target version: current: 2.2.0
* ruby -v: ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
~~~
imap.examine('INBOX')
imap.uid_search(['MODSEQ', 12345])
~~~
NET::IMAP fails to parse uid_search/search response with MODSEQ search criteria (example above), here is the debug output I get from running it on GMAIL.
~~~
C: RUBY0002 EXAMINE INBOX
S: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen $Phishing $Forwarded Seen $has_cal $NotJunk receipt-handled NotJunk $NotPhishing $Junk Junk)
S: * OK [PERMANENTFLAGS ()] Flags permitted.
S: * OK [UIDVALIDITY 2] UIDs valid.
S: * 3 EXISTS
S: * 0 RECENT
S: * OK [UIDNEXT 87222] Predicted next UID.
S: * OK [HIGHESTMODSEQ 7667593]
S: RUBY0002 OK [READ-ONLY] INBOX selected. (Success)
C: RUBY0003 UID SEARCH MODSEQ 7666341
S: * OK [HIGHESTMODSEQ 7667593]
S: * SEARCH 87216 87221 (MODSEQ 7667567)
@str: "* SEARCH 87216 87221 (MODSEQ 7667567)\r\n"
@pos: 22
@lex_state: EXPR_BEG
@token.symbol: LPAR
@token.value: "("
~~~
--
https://bugs.ruby-lang.org/