protect
protect copied to clipboard
How to stop requests that have sql injection in the body
Hi There, Thanks for the library.
This is more a question than a issue. How can I stop requests with sql injection in the body of the request.
app.use( protect.express.sqlInjection( { body: true, loggerFunction: console.error } ) )
Above code logs the request, how can I get hold of req,res and next function and stop the next function being called.
Thanks, Ali