When copying a URL to external problemsprograms, make sure that you are using Edit > Copy As > Plain Text
(Cmnd-Shift-C on Mac)... or otherwise remove the line continuation characters ("\
") that the Front End inserts in the copied text.
As yet another trick, you can execute:
Hyperlink[url]
... and then click the output link. That will use the correct URL in your default web browser.