LiskArchive / lisk-elements

⚙️ Library for sending Lisk transactions from the client or server
https://lisk.io/
GNU General Public License v3.0
250 stars 64 forks source link

Disallow null character on transfer and dapp transaction #1108

Closed shuse2 closed 5 years ago

shuse2 commented 5 years ago

Expected behavior

Expect Dapp registration transaction to be rejected if using unicode null character (\u0000) in tag or description attributes.

Actual behavior

There is no check regards to the null character in Dapp registration

Steps to reproduce

Post a Dapp registration transaction with \u0000 in the description or tag attribute

Related to https://github.com/LiskHQ/lisk/issues/2886

Which version(s) does this affect? (Environment, OS, etc...)

2.1-alpha.0