Menu

#89 Improve handling of space-before-colon headers

v2.3.2
closed-fixed
5
2007-11-30
2007-11-15
No

If a message comes in with a signature containing:

h=...:Date:...

...and a header containing:

Date : ...

...then that Date header is not replayed into canonicalization. Internally the header is stored exactly as-is and thus a direct string comparison match will fail when searching for headers to canonicalize.

Although DKIM is predicated on the message being properly formed, this is a case consensus feels should be handled by the implementation.

Discussion

  • Anonymous

    Anonymous - 2007-11-15

    Logged In: YES
    user_id=1048957
    Originator: YES

    Try the attached patch.
    File Added: PATCH

     
  • Anonymous

    Anonymous - 2007-11-15

    Logged In: YES
    user_id=1048957
    Originator: YES

    A more complete patch.
    File Added: PATCH

     
  • Anonymous

    Anonymous - 2007-11-15

    Proposed patch #2

     
  • Anonymous

    Anonymous - 2007-11-30
    • status: open --> closed
     
  • Anonymous

    Anonymous - 2007-11-30

    Logged In: YES
    user_id=1048957
    Originator: YES

    v2.4.0 released, containing this patch.

     
  • Anonymous

    Anonymous - 2007-11-30
    • status: closed --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB