JSON: Incorrect unescaped character in string
Posted: Thu Oct 31, 2019 12:13 am
We occasionally have typos in things like hostmasks that seem to bring the whole server down.
I'm following up on an issue that was handled by someone else, so I don't have all the details. a) Any suggestions for sanitizing data before submitting (regexing a regex sounds like a challenge) b) can this be more gracefully handled on the server side?
Code: Select all
ERROR Thu 24 Oct 07:14.00: JSON: Incorrect unescaped character in string (at character 156 of 202):
!
k_ids":[0], "params":{ "hosts_mask":"sdoshi 8:40 PM (rn1|rn2|rn3|rn4|rn5|rn6|rn7|rn8|rn9).*"} }