[PATCH v2 6/7] parser tests: test parsing of interesting mail
Stephen Finucane
stephen at that.guru
Sat Oct 8 22:48:26 AEDT 2016
On 28 Sep 15:22, Daniel Axtens wrote:
> We have 4 new tests:
> - One with a header with a character that is neither 7-bit ASCII
> nor UTF-8.
> - One with UTF-8 in the body.
> - One with un-encoded UTF-8 in the headers.
> - One with a header that claims to be UTF-8 but isn't.
>
> This also requires us to change how we open files on Python 3. Use
> the binary file and message_from_binary_file setup under Python 3.
>
> CC: Thomas Monjalon <thomas.monjalon at 6wind.com> # for the original header email
> CC: Johannes Berg <johannes at sipsolutions.net> # for the UTF-8 body email
> Signed-off-by: Daniel Axtens <dja at axtens.net>
Funnily enough, this doesn't show in Patchwork. Guess that proves the
problem in production :)
Reviewed-by: Stephen Finucane <stephen at that.guru>
and applied.
Stephen
More information about the Patchwork
mailing list