May 26, 2018

Update Class::DBI data using CGI::Untaint

Lots of times, ClassDBI is used in web-based applications. In fact, coupled with a templating system that allows you to pass objects, such as TemplateToolkit, ClassDBI is very much your friend for these.

And, as we all know, one of the most irritating things about writing web-based applications is the monotony of writing much of the same stuff over and over again. And, where there’s monotony there’s a tendency to skip over stuff that we all know is really important, but is a pain to write - like Taint Checking and sensible input validation. Especially as we can still show a ‘working’ application without it!. So, we now have CGIUntaint to take care of a lot of that for us.

It so happens that CGIUntaint also plays well with ClassDBI. All you need to do is to ‘use ClassDBIFromCGI’ in your class or in your local ClassDBI subclass that all your other classes inherit from. You do do that, don’t you?.

WWW http//