Subject: | Canonicalization fails |
Date: | Fri, 25 Feb 2011 10:48:37 +0300 |
To: | <bug-Mail-DKIM [...] rt.cpan.org> |
From: | "jvlad" <dmda [...] yandex.ru> |
If the email body contains a dot (.) at the 1st position, it will be
duplicated as a part of canonicalization process and therefore the DKIM will
be applied on wrong content and fail.
I faced this problem with an email containing HTML with CSS containing a
class:
.Small {blah blah blah}
the file created with --debug-canonicalization contained:
..Small {blah blah blah}
^^^(see doubled dot)
the method I tried was simple/simple
system: RHEL5 (Linux) 2.6.18-194.32.1.el5 #1 SMP Mon Dec 20 10:52:40 EST
2010 i686 i686 i386 GNU/Linux
Perl: 5.8.8