Skip to content

unescapeString doesn't properly unescape unicode characters #12

Closed
@pieter

Description

@pieter

The following are valid unicode escaped strings:

  • '\a'
  • '\00000A'

Both of these aren't matched by unescapeString(), which wants to have at least 2 characters and a maximum of 5. In fact stringifyValues() can stringily to '\A', which then can't be parsed again by parseValues().

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