We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Hyperlink pointing to CIFS style URI is changed to absolute path in output PDF using C#

We have encountered the following issue in Aspose.Words 20.1. When having hyperlinks pointing to a CIFS-style URI ( eg. \network\etc\folder\file.pdf ) the resulted pdf file is behaving differently from what the classic Microsoft Word outputs.
The use case is represented by the simplest loading of the document and saving it as PDF.

Aspose.Words.Document doc = new Aspose.Words.Document(input);
doc.Save(output);

The observed behaviour is that the links are transformed to be relative to the location of the PDF file. For example having the PDF file locally in My Documents folder, the link will open C:\Users\UserName\Documents\\\network\etc\folder\file.pdf.
I have attached a small archive with the files, both generated by Aspose, Word and the source docx )
GD13529.zip (29.9 KB)

@HIGHSTAGE

We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-19786 . You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-19786) have been fixed in this Aspose.Words for .NET 20.3 update and this Aspose.Words for Java 20.3 update.