Syncfusion version: 20.4.0.53
If a merge field is incorrectly formatted, new WordDocument(Stream stream, FormatType
FormatType.Docx) method creates an infinite loop, that causes the server it runs on to slow down even.
Example:
Code
using WordDocument document = new WordDocument(documentStream, FormatType.Docx);
Wrong merge format that can cause infinite loop.
{MERGEFIELD "System.Date" \* MERGEFORMAT\@ "d MMMM yyyy\"}
Correct merge format, no infinite loop.
{MERGEFIELD "System.Date" \@ d MMMM yyyy}
Is there a way to make the method NOT cause this infinite loop?
Attachment:
Quotation_49a491aa.zip