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
Hi, I'm wondering if there is a case existed where stack-trace in subErrors attribute in validateResult response in case of invalid JSON schema, would show the values of my JSON.
For example, I tried the following simple case which expected to fail because of invalidity of regexp of 3-digits against value 1234, and it doesn't show the 1234 value in the subErrors, which is cool for me, as follow:
I'm asking this because I want to log the subErrors stack-trace in my validation handler on production server but the data/values inside the JSON is confidential, so afraid if there are cases that values existed in logs!
Thanks in advance! :)
The text was updated successfully, but these errors were encountered:
Hi, I'm wondering if there is a case existed where stack-trace in
subErrors
attribute invalidateResult
response in case of invalid JSON schema, would show the values of my JSON.For example, I tried the following simple case which expected to fail because of invalidity of regexp of 3-digits against value
1234
, and it doesn't show the1234
value in thesubErrors
, which is cool for me, as follow:If my schema looks like this:
and by JSON, to be validated, looks like this:
I'm asking this because I want to log the
subErrors
stack-trace in my validation handler on production server but the data/values inside the JSON is confidential, so afraid if there are cases that values existed in logs!Thanks in advance! :)
The text was updated successfully, but these errors were encountered: