Comparing version 0.1.6 to 0.1.7
@@ -118,3 +118,3 @@ var Iconv = require("iconv").Iconv; | ||
if(encoding.toUpperCase()=="B"){ | ||
return this.decodeBase64(text); | ||
return this.decodeBase64(text, charset); | ||
} | ||
@@ -194,5 +194,5 @@ | ||
} | ||
if(charset == "UTF-8") | ||
if(charset == "UTF-8"){ | ||
str = decodeURIComponent(str.replace(/%/g,'%25').replace(/\=/g,"%")); | ||
else{ | ||
}else{ | ||
str = str.replace(/%/g,'%25').replace(/\=/g,"%"); | ||
@@ -199,0 +199,0 @@ if(charset=="ISO-8859-1" || charset=="LATIN1") |
{ | ||
"name": "mimelib", | ||
"description": "MIME functions to encode/decode e-mails etc.", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"author" : "Andris Reinman", | ||
@@ -6,0 +6,0 @@ "homepage":"http://github.com/andris9/mimelib", |
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
30247