fix: url encode the DM link payload
This commit is contained in:
parent
a36ed8eab0
commit
38def3bda5
@ -75,7 +75,7 @@ export const sendDM = async (
|
|||||||
? 'Your signature is requested on the document below!'
|
? 'Your signature is requested on the document below!'
|
||||||
: 'You have received a signed document.'
|
: 'You have received a signed document.'
|
||||||
|
|
||||||
const decryptionUrl = `${window.location.origin}/#${appPrivateRoutes.decryptZip}?file=${fileUrl}&key=${encryptionKey}`
|
const decryptionUrl = `${window.location.origin}/#${appPrivateRoutes.decryptZip}?file=${encodeURIComponent(fileUrl)}&key=${encodeURIComponent(encryptionKey)}`
|
||||||
|
|
||||||
const content = `${initialLine}\n\n${decryptionUrl}\n\nDirect download${fileUrl}`
|
const content = `${initialLine}\n\n${decryptionUrl}\n\nDirect download${fileUrl}`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user