Hi,
We are using Aspose.Words for .NET (version 16.12.0) to convert Word documents to PDF. Normally, this works fine; however, we have recently run into an issue with Word documents that contain hyperlinks that are already percent encoded. For example, the Word document contains a hyperlink in the form of:
http://mywebsite.com/sites/Shared%20Documents/myitems
When the document is converted to a PDF using Aspose.Words, the link is now:
http://mywebsite.com/sites/Shared%2520Documents/myitems
It appears that Aspose.Words is “re-encoding” the percent sign for the “%20” encoding, which means that this now becomes “%2520” (because “%25” is the percent encoding for the percent sign itself). This makes the link invalid and is frustrating our users.
If we save the PDF directly from Microsoft Word, this double-encoding with percent signs does NOT happen. Is this a bug in Aspose.Words or something that will be fixed?
Thanks,
Natalie