[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cgiapp] Re: patch for recursive use of CAP::ValidateRM


  
> +     # delete any invalid parameters so that they don't screw
> +     # up recursive calls.
> +     map {$self->query->delete($_)} $r->invalid if ($r->has_invalid);

I think modifying the query could lead to unexpected results. Could you do
the same thing just after the call to check_rm(), but before the error page
is returned? 

If that works, I would be up for addressing it through some documentation
that provides this recipe for solving the problem.

  Mark


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.