From efd319cb993cc99d44d50878f38eb7448aa25440 Mon Sep 17 00:00:00 2001 From: nick evans Date: Fri, 28 Aug 2026 21:09:30 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20ResponseParser=20use=20of?= =?UTF-8?q?=20global=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ResponseParser was using the global config here, but should've used its own instance config. --- lib/net/imap/response_parser/parser_utils.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/net/imap/response_parser/parser_utils.rb b/lib/net/imap/response_parser/parser_utils.rb index 99626d033..9c07c8b9c 100644 --- a/lib/net/imap/response_parser/parser_utils.rb +++ b/lib/net/imap/response_parser/parser_utils.rb @@ -186,7 +186,7 @@ def peek_str?(str) end def peek_re?(re) - assert_no_lookahead if Net::IMAP.debug + assert_no_lookahead if config.debug? re.match?(@str, @pos) end