From 5e0054f90c90fb7f5823dc66631ee64cf3927162 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Fri, 9 Jan 2009 05:44:11 +0000 Subject: [PATCH] Special-case unfolding when the previous line ends with a comma. In this case, remove the LWS. --- exec/load/salib.js | 1 + 1 file changed, 1 insertion(+) diff --git a/exec/load/salib.js b/exec/load/salib.js index d38fbe5b07..79f6ae1625 100644 --- a/exec/load/salib.js +++ b/exec/load/salib.js @@ -116,6 +116,7 @@ function Message_DoCommand(command) var m=headers.match(/X-Spam-Status:\s*([\x00-\xff]*?)\r\n[^\s]/); if(m!=null) { var hdr=m[1].replace(/\s+/g,' '); + hdr=hdr.replace(/,\r\n\s+/g,''); var tokens=hdr.split(/\s+/); switch(tokens[0]) { case 'No,': -- GitLab