Skip to content

Remove null bytes from JSON requests #41

Open

Description

@collimarco

JSON strings should not contain the null bytes (\x00, \u0000).

This will cause exceptions in Rails - for example when you try to save that string in the database.

It would be nice to remove that invalid character when you are using this gem.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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