Skip to content

Commit

Permalink
Merge pull request #3930 from LibreSign/backport/3928/stable30
Browse files Browse the repository at this point in the history
[stable30] fix: Use unicode signer name
  • Loading branch information
vitormattos authored Nov 12, 2024
2 parents cbcb9bf + 047b7f0 commit b75bcc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export const useFilesStore = function(...args) {
addIdentifierToSigner(signer) {
// generate unique code to new signer to be possible delete or edit
if ((signer.identify === undefined || signer.identify === '') && signer.signRequestId === undefined) {
signer.identify = btoa(JSON.stringify(signer))
signer.identify = btoa(String.fromCharCode(...new TextEncoder().encode(JSON.stringify(signer))))
}
if (signer.signRequestId) {
signer.identify = signer.signRequestId
Expand Down

0 comments on commit b75bcc4

Please sign in to comment.