diff --git a/ui/util/url.js b/ui/util/url.js index d4812c097..0a6bc12f3 100644 --- a/ui/util/url.js +++ b/ui/util/url.js @@ -111,6 +111,7 @@ exports.generateShareUrl = ( } const urlParamsString = urlParams.toString(); - const url = `${domain}/${lbryWebUrl}` + (urlParamsString === '' ? '' : `?${urlParamsString}`); + + const url = `${domain}/${encodeURIComponent(lbryWebUrl)}` + (urlParamsString === '' ? '' : `?${urlParamsString}`); return url; };