[CDBI] Class::DBI::Untaint

[prev] [thread] [next] [Date index for 2005/11/15]

From: Jay Hargreaves
Subject: [CDBI] Class::DBI::Untaint
Date: 10:58 on 15 Nov 2005
Hi all!

I have a web application that is using Class::DBI::Untaint to verify a 
URL is indeed a URL (CGI::Untaint::url).

My problem is that the URL field is optional so sometimes the user will 
not enter any information at all in this field. When they do this they 
get the usual validate_column_values error!

Is there some way to make the validation optional - ie - to check the 
URL for validity ONLY if the user has entered a value?

Thanks
Jay

P.S - Apologies if this should have been posted elsewhere but I was 
unsure where else to post it?!?

        -- 
        bingo, bango, bosh...

_______________________________________________
ClassDBI mailing list
ClassDBI@xxxxx.xxxxxxxxxxxxxxxx.xxx
http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi

[CDBI] Class::DBI::Untaint
Jay Hargreaves 10:58 on 15 Nov 2005

Re: [CDBI] Class::DBI::Untaint
Peter Speltz 11:48 on 15 Nov 2005

Re: [CDBI] Class::DBI::Untaint
Jay Hargreaves 15:12 on 15 Nov 2005

Generated at 21:49 on 21 Nov 2005 by mariachi v0.52