[PATCH v2 5/7] parser: subject_check needs to call clean_header
Stephen Finucane
stephen at that.guru
Sat Oct 8 23:16:18 AEDT 2016
On 28 Sep 18:10, Stephen Finucane wrote:
> On 28 Sep 15:22, Daniel Axtens wrote:
> > When testing with headers with unencoded characters on Py3,
> > subject_check would fail. It was getting an Header class, rather
> > than a str/bytes, and so the regex was failing.
> >
> > Run clean_header to decode everything fully first.
> >
> > Signed-off-by: Daniel Axtens <dja at axtens.net>
>
> Good catch.
>
> Reviewed-by: Stephen Finucane <stephen at that.guru>
Applied.
More information about the Patchwork
mailing list