[CDBI] how can I make data returned from CDBI methods be considered untainted?

Charlie Katz ckatz at cfa.harvard.edu
Fri Mar 2 19:17:50 GMT 2007


In my mod_perl application, I trust the data CDBI is giving me from my 
database (SQLite), so I would like it not to be considered tainted.  In my 
CDBI application base class, after setting up the connection to the database, 
I say

__PACKAGE__->db_Main->{Taint} = 0

But the data are still coming out marked tainted.  Should this work, or am I 
missing something?


Charlie Katz
Harvard-Smithsonian Center for Astrophysics
ckatz at cfa.harvard.edu

More information about the ClassDBI mailing list