Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Submitter supplied information in commands is unrestricted UTF-8 #398
The ledger-api command contains the fields workflow_id, application_id and command_id and places no restrictions on the contents of these strings. Since with the DAML-on-X approach there are going to be multiple different backend implementations that will require correctly handling these
referenced this issue
May 14, 2019
The current specification (
I proposed to use this for
We just need a good name for it.
I would suggest adding
I think the restriction in the spec for the domain is reasonable. We just want to make sure we avoid any encoding issues with these and that if we do show these we don't allow for any unicode trickery to fool people. The size should be limited to allow printing these in logs and to bound the memory usage.