Skip to content

Commit

Permalink
Update lib/net/imap/response_parser.rb
Browse files Browse the repository at this point in the history
Co-authored-by: nicholas a. evans <[email protected]>
  • Loading branch information
gaynetdinov and nevans authored Apr 23, 2024
1 parent e6dfd50 commit a103fee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/net/imap/response_parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1155,9 +1155,9 @@ def body_fields
# RFC3501, RFC9051:
# body-fld-param = "(" string SP string *(SP string SP string) ")" / nil
def body_fld_param
quirky_SP? # See comments on test_bodystructure_extra_space
return if NIL?
param = {}
shift_token if @token.symbol == T_SPACE
lpar
name = case_insensitive__string; SP!; param[name] = string
while SP?
Expand Down

0 comments on commit a103fee

Please sign in to comment.