Versions / Builds Affected
2015 SR1 and previous versionsStatus
ResolvedProblem Summary
HTML Sanitizer fails to process an email when it has some malfored HTML encoding.How to Identify
Dashboard will show email failed to be processed.
In HTMLScrubber logs you will find similar lines:
2015-11-24,14:41:55,936,1,"#00001d54","#0000dad4","info ","HTMLScrubber","56711 bytes read"
2015-11-24,14:41:55,936,1,"#00001d54","#0000dad4","info ","HTMLScrubber","InputStream == OutputStream - rewinding..."
2015-11-24,14:41:55,936,1,"#00001d54","#0000dad4","info ","HTMLScrubber","emitter set to ASCII"
2015-11-24,14:41:55,936,1,"#00001d54","#0000dad4","info ","HTMLScrubber","brace yourself..."
2015-11-24,14:41:55,936,1,"#00001d54","#0000dad4","info ","HTMLScrubber","[CHTMLScrub::Scrub] begining scrubbing action ..."
2015-11-24,14:41:55,936,1,"#00001d54","#0000dad4","info ","HTMLScrubber","[CHTMLScrub::Scrub] matched end ... processing"
2015-11-24,14:41:57,968,1,"#00001d54","#0000dad4","error ","HTMLScrubber","[scrub] general exception"
2015-11-24,14:41:57,968,1,"#00001d54","#0000dad4","info ","HTMLScrubber","[CHTMLScrub::Scrub] finished ..."
2015-11-24,14:41:57,968,1,"#00001d54","#0000dad4","info ","HTMLScrubber","cleaned time: 2031 f:56711 b:56708"
2015-11-24,14:41:57,968,1,"#00001d54","#0000dad4","error ","HTMLScrubber","[ScrubStream] calling debug"
2015-11-24,14:41:57,968,1,"#00001d54","#0000dad4","error ","HTMLScrubber","[ScrubStream] we shouldnt see this"Workaround / Fix Details
There is a registry key that you can enable so that HTML Sanitizer ignores the malformed html code in an email, thus not failing to process such email.
Please go to Windows Registry (regedit) and set the following key from 0 to 1:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\GFI\MailEssentials\EmailSecurity\Engines\HtmScriptRemover\ignoremalformedhtml
Restart the GFI Attendant service and process that email again.Required Actions
Apply workaround and close case.