Bug in Acrobat and Reader? Dash in multi-line URL removed when copying
I design a magazine in InDesign, and then export to a PDF for use in the online archives. Until now I haven't bothered making URLs into actual hyperlinks, but one of the proofreaders decided to test a URL by copying it from the PDF into his browser - he got a "page not found" error. I investigated and found out that the URL was correct in the document but was getting changed during the copy operation. These days, many URLs are quite long and have lots of words separated by dashes (because of the default way Wordpress creates URLs from post titles), and sometimes they need to break into two lines on the page. If the break is at one of the dashes and a viewer of the PDF copies the URL in order to paste it into their browser, the text that ends up in the computer's clipboard (on both Windows and Mac) is missing that dash, apparently because Acrobat and Reader think it's a hyphenated word.
Try it with this PDF: Dropbox - Member Care without hyperlinks.pdf Open it in Reader or Acrobat, highlight one of the URLs in the endnotes, copy, and paste into your browser. The dash in "the-different" or "baby-boomers" will go away, leaving you with a URL in your browser that doesn't work. Oddly, when I hover over the URL in the PDF, the little hint box shows it correctly, so I'm not sure where in the process the dash is getting removed.
I know it fails in Acrobat Pro DC on Windows 10 (my machine), Reader DC on a different Windows 10 machine, and some version of Reader on a Mac. It works correctly in the PDF viewer of Google Chrome on my PC, so it appears to be a bug in the Adobe code, not something in the OS.
