encode embed url too
This commit is contained in:
parent
26ece81da8
commit
513e239771
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ function generateEmbedUrl(claimName, claimId, includeStartTime, startTime, refer
|
||||||
urlParams.append('r', referralLink);
|
urlParams.append('r', referralLink);
|
||||||
}
|
}
|
||||||
|
|
||||||
return `${URL}/$/embed/${encodeURIComponent(claimName)}/${claimId}?${urlParams.toString()}`;
|
return `${URL}/$/embed/${encodeURIComponent(claimName).replace(/'/g, '%27')}/${claimId}?${urlParams.toString()}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
function generateDownloadUrl(claimName, claimId) {
|
function generateDownloadUrl(claimName, claimId) {
|
||||||
|
|
Loading…
Reference in a new issue