Re: [PATCH] parser: Ignore CFWS in In-Reply-To, References headers

2022-05-06 Thread DJ Delorie
Stephen Finucane writes: > diff --git patchwork/parser.py patchwork/parser.py > index e6e1a7fb..17cc2325 100644 > --- patchwork/parser.py > +++ patchwork/parser.py > @@ -31,6 +31,7 @@ from patchwork.models import SeriesReference > from patchwork.models import State > > > +_msgid_re =

[PATCH] parser: Ignore CFWS in In-Reply-To, References headers

2022-05-06 Thread Stephen Finucane
RFC2822 states that [1] a comment or folding white space is permitted to be inserted before or after a msg-id in in the Message-ID, In-Reply-To or References fields. Allow for this. [1] https://tools.ietf.org/html/rfc2822#section-3.6.4 Signed-off-by: Stephen Finucane Closes: #399 ---