I encounter an issue with files named like
a%20file%20with%20url%20entities.docx. They shouldn’t be named this way, but we assume users will submit them.
If the document contains one embedded (JPEG) image, the HTML conversion produces
Everything is fine at this step. However, inside the HTML file, the url pointing the image won’t be protected:
<!-- cleaned HTML code --> <p> <img src="a%20file%20with%20url%20entities.001.jpeg"/> </p>
Microsoft Words protects the URL:
<!-- cleaned HTML code --> <p> <img src="a%2520file%2520with%2520url%2520entities_fichiers/image002.jpg"/> </p>
I’ve also attached a ZIP of the sample document and the conversions performed both by Aspose.Words and Microsoft.Word. Version used is Aspose 18.10.
filename_with_url_encoding_characters.zip (364.2 KB)