Broken URL while converting docx to pdf using command line.

I’m using the command line to convert Docx to pdf (–convert-to pdf) version 6.4.0 and 6.4.4.2
Word document has a hyperlink with brackets. After conversion, while accessing the link directly from the pdf document, only partial link is getting launched in the browser. Part of the url after the bracket is not getting passed to the browser.

Sample URL: https://www.mycustomdomain.com/list-towns(DK)

Same is working in LIbreOffice 6.1.3,

If I copy your URL https://www.mycustomdomain.com/list-towns(DK) to a Writer document then do a return immediately to create a hyperlink the final bracket ) is not included in the hyperlink.

If I do the same in Word the final bracket is included. If I save the Word document with that hyperlink as .docx, open it in Writer and export as pdf the hyperlink is complete. So it looks as though the problem lies in creating the original hyperlink, not in the conversion to pdf.

Maybe related to tdf#91192 , if so, you could add to bug.

Of course the problem is that readable hyperlinks often end up inside brackets to take them out of the main flow of a sentence. In such instances of uncertainty as to whether it is a trailing character in a URL or part of the rest of the text, it is best to edit the hyperlink directly to ensure it is correct.