Permalink
Browse files

added binary quoted-printable decoding option

  • Loading branch information...
1 parent c24d8b4 commit 708ff1551448fa481cf9f220eb8406ec433756a9 Andris Reinman committed Jan 4, 2012
Showing with 6 additions and 2 deletions.
  1. +2 −0 .gitignore
  2. +3 −1 mime-functions.js
  3. +1 −1 package.json
View
@@ -0,0 +1,2 @@
+node_modules
+
View
@@ -198,7 +198,9 @@ this.decodeQuotedPrintable = function(str, mimeWord, charset){
str = unescape(str);
else{
str = decodeBytestreamUrlencoding(str);
- str = fromCharset(charset, str);
+ if(charset!="BINARY"){
+ str = fromCharset(charset, str);
+ }
}
}
return str;
View
@@ -1,7 +1,7 @@
{
"name": "mimelib",
"description": "MIME functions to encode/decode e-mails etc.",
- "version": "0.1.7",
+ "version": "0.1.8",
"author" : "Andris Reinman",
"homepage":"http://github.com/andris9/mimelib",
"maintainers":[

0 comments on commit 708ff15

Please sign in to comment.