Menu

#277 Headers with leading CRLF canonicalized incorrectly

2.10.3
open
nobody
None
4
2019-06-29
2019-03-25
No

This looks identical to #226, but that's marked closed-fixed.

If a header is wrapped immediately after the field name then it's (relaxed) canonicalized form will have a space between the field name and field value.

e.g.

List-Unsubscribe:
   =?us-ascii?q?long_meaningless_value...

will canonicalize to

list-unsubscribe: =?us-ascii?q?long_meaningless_value...

instead of

list-unsubscribe:=?us-ascii?q?long_meaningless_value...

which causes validation to fail.

The RFC says that any whitespace after the colon should be deleted.

(Clone of Github #39)

Discussion

  • Steve Atkins

    Steve Atkins - 2019-03-25
    Post awaiting moderation.

Log in to post a comment.

MongoDB Logo MongoDB