SIGN IN SIGN UP

gh-145831: email.quoprimime: `decode()` leaves stray `\r` when `eol='\r\n'` (#145832)

decoded[:-1] only strips one character, leaving a stray \r when eol
is two characters. Fix: decoded[:-len(eol)].
S
Stefan Zetzsche committed
1a0edb1fa899c067f19b09598b45cdb6e733c4ee
Parent: 0f49232
Committed by GitHub <noreply@github.com> on 4/9/2026, 8:21:49 PM