Scrivener -> Preferences -> Corrections, uncheck the “detect web addresses” option.
Also, note that you can strip hyperlinks in your output document, even if you want them for your own use in the Editor. That option is in the “gear” pane on the right-hand side of the main Compile screen,