Skip to content

Commit 0de76c0

Browse files
committed
Pre-release version 1.6.2pre2
1 parent 96ff435 commit 0de76c0

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

CHANGELOG.txt

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
1.6.2pre1 [2016-10-05]
1+
1.6.2pre2 [2016-10-06]
22
------------------
33
- fixed incompatibility with Silvermel/Charamel
4+
- fixed Problem with copied header fields
5+
- updated default rules and favicons
46

57
1.6.1 [2016-09-26]
68
------------------

install.rdf

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<Description about="urn:mozilla:install-manifest">
77
<em:id>dkim_verifier@pl</em:id>
88
<em:type>2</em:type> <!-- Extensions -->
9-
<em:version>1.6.2pre1</em:version>
9+
<em:version>1.6.2pre2</em:version>
1010

1111
<em:name>DKIM Verifier</em:name>
1212
<em:description>Verifies the DKIM-Signature of an e-mail.</em:description>

modules/dkimVerifier.jsm

+4-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Verifies the DKIM-Signatures as specified in RFC 6376
55
* http://tools.ietf.org/html/rfc6376
66
*
7-
* Version: 2.1.1 (13 February 2016)
7+
* Version: 2.1.2 (06 October 2016)
88
*
99
* Copyright (c) 2013-2016 Philippe Lieser
1010
*
@@ -31,7 +31,7 @@
3131
/* global dkimStrings, addrIsInDomain2, domainIsInDomain, exceptionToStr, stringEndsWith, stringEqual, writeStringToTmpFile, DKIM_SigError, DKIM_InternalError */
3232
/* exported EXPORTED_SYMBOLS, Verifier */
3333

34-
const module_version = "2.1.1";
34+
const module_version = "2.1.2";
3535

3636
var EXPORTED_SYMBOLS = [
3737
"Verifier"
@@ -109,7 +109,8 @@ var Verifier = (function() {
109109
// Pattern for dkim-safe-char as specified in Section 2.11 of RFC 6376
110110
var dkim_safe_char = "[!-:<>-~]";
111111
// Pattern for hex-octet as specified in Section 6.7 of RFC 2045
112-
var hex_octet = "(?:=[0-9ABCDEF]{2})";
112+
// we also allow added FWS (needed for Copied header fields)
113+
var hex_octet = "(?:="+pattFWS+"?[0-9ABCDEF]"+pattFWS+"?[0-9ABCDEF])";
113114
// Pattern for qp-hdr-value as specified in Section 2.10 of RFC 6376
114115
// same as dkim-quoted-printable with "|" encoded as specified in Section 2.11 of RFC 6376
115116
var qp_hdr_value = "(?:(?:"+pattFWS+"|"+hex_octet+"|[!-:<>-{}-~])*)";

0 commit comments

Comments
 (0)