Caliban: String and enum toString do not escape backslashes, tabs or carriage returns

Fixed · low · Wrong-result bug

The toString of StringValue escapes only quotes and newlines, and EnumValue only quotes. A backslash stays unescaped, so a JSON parser reads it as another value.

Found: ; reported: ; status since: . Reporter: Mike Murunov

Page for this report · Public report · Fix or proposed fix (see status)

Open in the showcase. Record generated .