You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, clp-s uses raw_json_token().substr(1, raw_json_token().size()-2) to get unescaped string values. But according to the official docs, a string token always begins with a " and is always terminated by the final ", possibly followed by a number of spaces. A string may not be correctly parsed if it is followed by spaces.
wraymo
changed the title
clp-s: Incorrect string value parsing when followed by a number of spaces.
clp-s: Incorrect parsing of string values when followed by a number of spaces.
Feb 22, 2024
Bug
Currently, clp-s uses
raw_json_token().substr(1, raw_json_token().size()-2)
to get unescaped string values. But according to the official docs, a string token always begins with a " and is always terminated by the final ", possibly followed by a number of spaces. A string may not be correctly parsed if it is followed by spaces.CLP version
7d9550a
Environment
macOS 13.2.1
Reproduction steps
{"a": "clp string" }
{"a": "clp string""}
The text was updated successfully, but these errors were encountered: