From 23dc0e9c808c6176e2884bde6fb911b9d4a991e5 Mon Sep 17 00:00:00 2001 From: mscdex Date: Mon, 14 Jan 2013 02:57:08 -0500 Subject: [PATCH] be less strict in parsing folded header values --- lib/imap.parsers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/imap.parsers.js b/lib/imap.parsers.js index f988fdf..a3c29cf 100644 --- a/lib/imap.parsers.js +++ b/lib/imap.parsers.js @@ -1,7 +1,7 @@ var utils = require('./imap.utilities'); var reCRLF = /\r\n/g, - reHdr = /^([^:]+):\s(.+)?$/, + reHdr = /^([^:]+):\s?(.+)?$/, reHdrFold = /^\s+(.+)$/; exports.convStr = function(str, literals) {