Skip to content

Commit

Permalink
fixed bug ("DKIM-Signature" header name was case sensitive) (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
lieser committed Sep 26, 2013
1 parent 1e91bed commit c0ed0a4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
0.5.2pre10 [2013-09-23]
0.5.2pre11 [2013-09-26]
------------------
- added option for displaying of header, status bar and tooltip for From header
- fixed false detection of DKIM_SIGERROR_DOMAIN_I
- made options height smaller
- fixed error in "simple" body canonicalization algorithm resulting in "Wrong body hash"
- fixed bug for mixed CRLF and LF EOLs in body (resulting in "Wrong body hash")
- fixed error if external message was viewed
- fixed bug ("DKIM-Signature" header name was case sensitive)

0.5.1 [2013-09-20]
------------------
Expand Down
4 changes: 2 additions & 2 deletions chrome/content/dkim.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Verifies the DKIM-Signatures as specified in RFC 6376
* http://tools.ietf.org/html/rfc6376
*
* version: 0.5.2pre10 (23 September 2013)
* version: 0.5.2pre11 (26 September 2013)
*
* Copyright (c) 2013 Philippe Lieser
*
Expand Down Expand Up @@ -349,7 +349,7 @@ DKIM_Verifier.DKIMVerifier = (function() {
};

// strip DKIM-Signatur header name
DKIMSignatureHeader = DKIMSignatureHeader.replace(/^DKIM-Signature[ \t]*:/,"");
DKIMSignatureHeader = DKIMSignatureHeader.replace(/^DKIM-Signature[ \t]*:/i,"");

// get Version (plain-text; REQUIRED)
// must be "1"
Expand Down
2 changes: 1 addition & 1 deletion install.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<em:name>DKIM Verifier</em:name>
<em:description>Verifies the DKIM-Signature of an e-mail.</em:description>

<em:version>0.5.2pre10</em:version>
<em:version>0.5.2pre11</em:version>

<em:creator>Philippe Lieser</em:creator>

Expand Down

0 comments on commit c0ed0a4

Please sign in to comment.