multiversx / mx-sdk-js-extension-provider

Signing provider for dApps: DeFi Wallet (browser extension).
Other
1 stars 3 forks source link

When using special characters for message signing, the extension won't proceed #21

Open juliancwirko opened 6 months ago

juliancwirko commented 6 months ago

The best is to test it here: https://utils.multiversx.com/sign-message

Probably not a bug in this repository, but when I am connected with a browser extension and enter, for example, Hello! with the exclamation mark, I won't be able to sign the message because the extension won't proceed. When I remove the exclamation mark, everything is ok. The same goes for other characters like @#$%^&* etc. Including the space between words.

It works, for example, with a web wallet signing provider.

By the way, all signing providers should probably switch to Message instead of SignableMessage, which is deprecated.