Comparing version 0.1.5 to 0.1.6
# Changelog | ||
## v0.1.6 2014-10-25 | ||
Fixed an issue with `encodeWords` where a trailing space was invalidly included in a word if the word | ||
ended with an non-ascii character. | ||
## v0.1.5 2014-09-12 | ||
Do not use quotes for continuation encoded filename parts. Fixes an issue with Gmail where the Gmail webmail keeps the charset as part of the filename. |
{ | ||
"name": "libmime", | ||
"description": "Encode and decode quoted printable and base64 strings", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"main": "src/libmime", | ||
@@ -6,0 +6,0 @@ "homepage": "https://github.com/andris9/libmime", |
@@ -199,3 +199,3 @@ 'use strict'; | ||
encodedValue = decodedValue.replace(/([^\s\u0080-\uFFFF]*[\u0080-\uFFFF]+[^\s\u0080-\uFFFF]*(?:\s+[^\s\u0080-\uFFFF]*[\u0080-\uFFFF]+[^\s\u0080-\uFFFF]*\s*)?)+/g, function(match) { | ||
encodedValue = decodedValue.replace(/([^\s\u0080-\uFFFF]*[\u0080-\uFFFF]+[^\s\u0080-\uFFFF]*(?:\s+[^\s\u0080-\uFFFF]*[\u0080-\uFFFF]+[^\s\u0080-\uFFFF]*\s*)?)+(?=\s|$)/g, function(match) { | ||
return match.length ? libmime.encodeWord(match, mimeWordEncoding || 'Q', maxLength) : ''; | ||
@@ -202,0 +202,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
129339