Skip to content
This repository was archived by the owner on Jul 10, 2019. It is now read-only.

Commit 322b450

Browse files
author
Felix Hammerl
committed
add content-transfer-encoding to parsed headers
1 parent e532920 commit 322b450

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mailparser.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,7 @@ MailParser.prototype._processHeaderLine = function(pos){
494494
break;
495495
case "content-transfer-encoding":
496496
this._currentNode.meta.transferEncoding = value.toLowerCase();
497+
this._currentNode["content-transfer-encoding"] = value.toLowerCase();
497498
break;
498499
case "subject":
499500
this._currentNode.subject = this._encodeString(value);

0 commit comments

Comments
 (0)