Open duncanw opened 2 months ago
My guess is this is caused by incorrect XML character encoding in this regex in core-geonetwork > web/src/main/webapp/xslt/common/utility-tpl.xsl:
<xsl:analyze-string select="$string" regex="(http|https|ftp)://[^\s()><]+[^\s``!()\[\]&#123;&#125;;:''".,><?«»“”‘’]">
Describe the bug If a multi-line text field (e.g the abstract) in a metadata record contains a URL that ends in 1,2,3 or 5 (e.g https://doi.org/10.21420/TTQ0-SR11), the digit(s) on the end of the URL are omitted when the record is viewed.
To Reproduce Steps to reproduce the behavior:
Expected behavior The full, correct link should be rendered and clickable in the record view.
Screenshots In the edit page:
In the view page:
Inspecting the view page link:
Log file N/A
Desktop (please complete the following information):
Additional context N/A