Open GoogleCodeExporter opened 9 years ago
Thanks for your patch. Could you tell me which RFC you are quoting from?
Original comment by dominic....@gmail.com
on 6 Aug 2012 at 9:53
I agree with this. From RFC 5322:
FWS = ([*WSP CRLF] 1*WSP) / obs-FWS
obs-FWS = 1*WSP *(CRLF 1*WSP)
Although (non-obsolete) FWS can start with CRLF, it can only have a
carriage-return/line-feed pair the once, and as the tests have this twice, it
is clearly obs-FWS which must start with one or more WSP.
Original comment by mich...@squiloople.com
on 6 Aug 2012 at 11:29
Hmm, on thinking about this a little longer, it seems that I'm wrong after all.
I was originally quoting from RFC 5322.
I didn't read this errata:
http://www.rfc-editor.org/errata_search.php?rfc=5322&eid=1908 , which states
that
obs-FWS = 1*([CRLF] WSP)
In that case, this test would be correct. (Excellent job with these tests!)
Original comment by j...@fogcreek.com
on 6 Aug 2012 at 5:17
Original issue reported on code.google.com by
j...@fogcreek.com
on 6 Aug 2012 at 1:57Attachments: