Skip to content

Cannot add single quote to the transaction message #43

@liangpeili

Description

@liangpeili

Behavior

If you add single quote(') to the transaction message, the transaction won't be packaged into the block.

Analysis

When parsing the transaction into a sql (by json-sql), the single quote is also parsed as a part of the SQL statement.

Solution

Normalize the transaction before it is commited.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions