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
For security reasons (pen test), we would like to be able to remove any validation error messages (The field aaa does not exist on the type bbb.) in production environment. So just specify something like "Invalid query".
Is there a workaround for this?
AddErrorFilter() and .ModifyRequestOptions(options => options.IncludeExceptionDetails = false)
does not work for validation error (do not catch this type of errors).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
For security reasons (pen test), we would like to be able to remove any validation error messages (The field
aaa
does not exist on the typebbb
.) in production environment. So just specify something like "Invalid query".Is there a workaround for this?
AddErrorFilter() and .ModifyRequestOptions(options => options.IncludeExceptionDetails = false)
does not work for validation error (do not catch this type of errors).
Beta Was this translation helpful? Give feedback.
All reactions