Re: Re: FromCGI warnings for non-required values

[prev] [thread] [next] [Date index for 2005/03/16]

From: ramoore
Subject: Re: Re: FromCGI warnings for non-required values
Date: 16:43 on 16 Mar 2005
Hi,

I've also run into this problem.  I thought I'd share the following trival patch that fixed it for me.

--- FromCGI.orig.pm     2005-03-16 11:02:37.000000000 -0500
+++ FromCGI.pm  2005-03-16 11:08:19.000000000 -0500
@@ -214,7 +214,8 @@
       $them->{_cgi_update_error}->{$field} = "You must supply '$field'"
     } elsif ($err) {
       $them->{_cgi_update_error}->{$field} = $err
-        unless $err =~ /^No parameter for/;
+        unless ( $err =~ /^No parameter for/ ||
+                 $err =~ /\(\) does not untaint with default pattern/ );
     } else {
       $fields->{$field} = $value
     }

FromCGI warnings for non-required values
patrick_paskvan 16:50 on 03 Feb 2005

Re: FromCGI warnings for non-required values
Peter Speltz 17:36 on 03 Feb 2005

Re: FromCGI warnings for non-required values
Patrick Paskvan 18:31 on 03 Feb 2005

Re: Re: FromCGI warnings for non-required values
ramoore 16:43 on 16 Mar 2005

Generated at 21:05 on 16 Mar 2005 by mariachi v0.52