Skip to content

Commit

Permalink
Merge pull request #3928 from LibreSign/fix/use-unicode-signer-name
Browse files Browse the repository at this point in the history
fix: Use unicode signer name
  • Loading branch information
vitormattos authored Nov 12, 2024
2 parents ba9903e + e08a780 commit a20e220
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 a20e220

Please sign in to comment.