encode lbry url when shared from modal
This commit is contained in:
parent
664e969730
commit
dd582f4009
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue