Returns the express middleware that refuses, on every endpoint, a query
parameter named __proto__, constructor or prototype and a query value
holding a control character.
A refused request is answered 400, in both modes: in the error shape of
the JSON API its path belongs to (common/surface_refusals.ts), and in
plain text anywhere else.
Returns the express middleware that refuses, on every endpoint, a query parameter named
__proto__,constructororprototypeand a query value holding a control character.A refused request is answered 400, in both modes: in the error shape of the JSON API its path belongs to (
common/surface_refusals.ts), and in plain text anywhere else.