Prevent control characters from being served in json string
This commit is contained in:
parent
82cb31eb93
commit
fb2f376103
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ array ::=
|
|||
|
||||
string ::=
|
||||
"\"" (
|
||||
[^"\\] |
|
||||
[^"\\\x7F\x00-\x1F] |
|
||||
"\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]) # escapes
|
||||
)* "\"" ws
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue