Author uckelman
Recipients barry, r.david.murray, uckelman, xiang.zhang
Date 2017-02-07.16:04:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1486483475.05.0.920702518027.issue29412@psf.upfronthosting.co.za>
In-reply-to
Content
Here's a patch, complete with tests.

If the value is all CFWS, then get_cfws(value)[1], which is what's left after the CFWS is extracted, is the empty string---which is why value[0] throws in this case.
History
Date User Action Args
2017-02-07 16:04:35uckelmansetrecipients: + uckelman, barry, r.david.murray, xiang.zhang
2017-02-07 16:04:35uckelmansetmessageid: <1486483475.05.0.920702518027.issue29412@psf.upfronthosting.co.za>
2017-02-07 16:04:35uckelmanlinkissue29412 messages
2017-02-07 16:04:34uckelmancreate