Possible Bug - Incorrect Hyperlink Formatting in EndNote 21

I am writing to report a bug in EndNote 21 regarding hyperlink formatting in citation styles. When a URL is entered with the “https://” prefix, followed by a number (e.g., “https://doi.org”), the final punctuation (such as a period) incorrectly becomes part of the hyperlink. This issue persists even when I attempt to use the separator character (|) to distinguish between the URL and the punctuation, but the character does not function as expected.
This behavior affects the correct formatting of bibliographic references, as punctuation should appear outside the hyperlink.
Is there a solution?

Best regards,
Nicolae