Make sure the attachment filename is text type.
Before adoption: this commit came in with the history the project adopted, so no landing records it.
If attachment filename is bytes type and contains non-ascii coded bytes, then the following ASCII encoding process will trigger UnicodeDecodeError exception. Fix issue #2933.
authored by garenchan · committed by David Lord · parent 232e5c8 · Browse files · 3 files+10 added−1 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
3 files+10 added−1 removed
- tests:+2 added−0 removed
- other:+8 added−1 removed