This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients barry, mitya57, r.david.murray
Date 2012-06-02.14:48:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1338648504.27.0.339148012527.issue14983@psf.upfronthosting.co.za>
In-reply-to
Content
Then either the signer or the verifier (or both) are broken per RFC 2046 (unless there has been an update that isn't referenced from the RFC).  Section http://tools.ietf.org/html/rfc2046#section-5.1.1 clearly indicates that the ending delimiter ends at the trailing --.  In particular, *transports* are allowed to add whitespace before the trailing CRLF, and receivers are to handle this case.

You might want to report bugs about that to the appropriate projects.

That said, there seems to be little harm in adding a CRLF, and some argument in its favor, since the RFC also says that the CRLF before the next boundary is conceptually part of it, and by that interpretation a CRLF could be considered missing (though I think technically it isn't...the reason for the rule is to disambiguate preceding *body* parts that end or don't end in a CRLF, and here we are dealing with an unambiguous ending boundary delimiter).

We'll need some tests for this.
History
Date User Action Args
2012-06-02 14:48:24r.david.murraysetrecipients: + r.david.murray, barry, mitya57
2012-06-02 14:48:24r.david.murraysetmessageid: <1338648504.27.0.339148012527.issue14983@psf.upfronthosting.co.za>
2012-06-02 14:48:23r.david.murraylinkissue14983 messages
2012-06-02 14:48:23r.david.murraycreate