mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-30 17:01:25 +00:00
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…
Add table
Reference in a new issue