SIGN IN SIGN UP

[3.13] gh-134151 Fix `TypeError` in `email.utils.decode_params` when sorting RFC 2231 continuations (GH-134687) (#135248)

gh-134151 Fix `TypeError` in `email.utils.decode_params` when sorting RFC 2231 continuations (GH-134687)

- Fix sorting logic in `email.utils.decode_params` to handle None values.
- Update tests for RFC 2231 continuation sorting.
(cherry picked from commit bcb6b45cb86a2f9f65b6c41f27c36059ba86a50b)

Co-authored-by: Jiucheng(Oliver) <git.jiucheng@gmail.com>
M
Miss Islington (bot) committed
e5d1771c6b3b99d1b112b4c7e555c7e35e38657b
Parent: 7620805
Committed by GitHub <noreply@github.com> on 6/8/2025, 7:38:00 AM