3 slashes in URL after mail merge

Hi,

We have a problem with the mail merge, it seems that somehow a normal web URL like “http://www.google.com/maps” gets transformed into “http:///www.google.com/maps” (3 slashes in stead of 2) when used as a value in a mergefield.

We’re not trying to create a hyperlink, we just want the exact text we pass to the mail merge to appear as text in the resulting document.

Minimal test case where I could reproduce the issue :
- a Word 2003 doc template with just one mergefield “MyUrl”.
- a simple mail merge as follows (C#) :

Document doc = new Document("c:\tmp\template.doc");
doc.MailMerge.Execute(new string[] { "MyUrl" }, new string[] { "<http://www.google.com/maps>" } );
doc.Save(Response, "result.doc", ContentDisposition.Inline, null);

In the resulting Word document the URL suddenly has 3 slashes in stead of 2 after the “http:”.

I tested this on Aspose.Words 9.3.0.0 and 9.2.0.0. Before 9.2.0.0 we used a much older version of Aspose.Words, and I don’t think we ever had this issue (but downgrading is not an option, we need the bugfixes from the newer versions).

Hello

Thank you for reporting this problem to us. I managed to reproduce the problem on my side. Your request has been linked to the appropriate issue. You will be notified as soon as it is resolved.
Best regards,