Skip to content

Commit a103fee

Browse files
gaynetdinovnevans
andauthored
Update lib/net/imap/response_parser.rb
Co-authored-by: nicholas a. evans <[email protected]>
1 parent e6dfd50 commit a103fee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/net/imap/response_parser.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1155,9 +1155,9 @@ def body_fields
11551155
# RFC3501, RFC9051:
11561156
# body-fld-param = "(" string SP string *(SP string SP string) ")" / nil
11571157
def body_fld_param
1158+
quirky_SP? # See comments on test_bodystructure_extra_space
11581159
return if NIL?
11591160
param = {}
1160-
shift_token if @token.symbol == T_SPACE
11611161
lpar
11621162
name = case_insensitive__string; SP!; param[name] = string
11631163
while SP?

0 commit comments

Comments
 (0)