Open sundriver opened 6 years ago
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
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