Comparing version 0.3.5 to 0.3.6
{ | ||
"name": "mailbuild", | ||
"version": "0.3.5", | ||
"version": "0.3.6", | ||
"homepage": "https://github.com/whiteout-io/mailbuild", | ||
@@ -5,0 +5,0 @@ "description": "mailbuild is a low level rfc2822 message composer. Define your own mime tree, no magic included.", |
@@ -548,7 +548,5 @@ // Copyright (c) 2013 Andris Reinman | ||
mimefuncs.continuationEncode(param, structured.params[param], 50).forEach(function(encodedParam) { | ||
if (encodedParam.key === param) { | ||
paramsArray.push(encodedParam.key + '=' + encodedParam.value); | ||
} else { | ||
paramsArray.push(encodedParam.key + '="' + encodedParam.value + '"'); | ||
} | ||
// continuation encoded strings are always escaped, so no need to use enclosing quotes | ||
// in fact using quotes might end up with invalid filenames in some clients | ||
paramsArray.push(encodedParam.key + '=' + encodedParam.value); | ||
}); | ||
@@ -555,0 +553,0 @@ } else { |
@@ -397,3 +397,3 @@ 'use strict'; | ||
expect(/^Content-Transfer-Encoding: quoted-printable$/m.test(msg)).to.be.true; | ||
expect(/^Content-Disposition: attachment; filename\*0\*="utf-8''j%C3%B5geva.txt"$/m.test(msg)).to.be.true; | ||
expect(/^Content-Disposition: attachment; filename\*0\*=utf-8''j%C3%B5geva.txt$/m.test(msg)).to.be.true; | ||
}); | ||
@@ -400,0 +400,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
74595
1400