be less strict in parsing folded header values

fork
mscdex 12 years ago
parent a730e0d0da
commit 23dc0e9c80

@ -1,7 +1,7 @@
var utils = require('./imap.utilities'); var utils = require('./imap.utilities');
var reCRLF = /\r\n/g, var reCRLF = /\r\n/g,
reHdr = /^([^:]+):\s(.+)?$/, reHdr = /^([^:]+):\s?(.+)?$/,
reHdrFold = /^\s+(.+)$/; reHdrFold = /^\s+(.+)$/;
exports.convStr = function(str, literals) { exports.convStr = function(str, literals) {

Loading…
Cancel
Save