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
Similarly to #1012, the error messages when doing a validation with regex comes back escaped (and somewhat unreadable).
example:
{statusCode: 400,error: "Bad Request",message: "the value of foo must match the regular expression /^\d+$/",validation: {source: "path",keys: ["foo"]}}
Can this be improved somehow? Is there a way to set custom error messages (that would fix my use case)?
The text was updated successfully, but these errors were encountered:
The tricky part is to distinguish between insecure strings coming from the server and those coming from the client as bad input. I need to think about it.
Similarly to #1012, the error messages when doing a validation with regex comes back escaped (and somewhat unreadable).
example:
Can this be improved somehow? Is there a way to set custom error messages (that would fix my use case)?
The text was updated successfully, but these errors were encountered: