In ID, I create web links by selecting a url and then selecting New Hyperlink From URL. The new link is a Shared Destination by default with the web address as was selected. These links work fine when exported to PDF.
When I use the same process on a url with a hyphen (part of the address and not a line break), the resulting Shared link will not work when exported to PDF. The newly created link in this case always begins with file:///Users/.
What is it about the hypen that messes up the process? I work in a bilingual government so we have a lot of urls with hyphens in them. For example: www.cga-nb.org.