Re: [Maypole] A few post-2.05 change questions

From: Dave Howorth (Dave.Howorth at acm.org)
Date: Sun Jan 23 2005 - 14:40:57 GMT


Jesse Sheidlower wrote:
> Second, in a different application--one that, unlike most of
> my Maypole apps, is straightforward and doesn't override half
> of Maypole--I am now getting untaint errors where I didn't
> used to before. I don't want to untaint anything here, and I
> don't have required columns, but in this situation when I
> leave a field blank, I am getting "author () does not untaint
> with default pattern" errors. Now, author is a display_column
> but I don't require it for untainting anywhere.
>
> I didn't see anything about FromCGI or Untaint in the Change
> log,

Hi Jessie,

They're separate distributions, not part of Maypole, so they have their
own change logs. There was a release of CGI::Untaint over Christmas and
its change log indicates new behaviour with respect to false values, so
there could well be a difference in the circumstances you describe.

  and I'm too lazy to compare the source, so if someone
> could point it out to me, I'd be grateful. In most of my
> other apps I override do_edit to use Data::FormValidator
> instead, but I was trying to keep this simple, because I don't
> actually have any validation needs.

I'm interested to try Data::FormValidator with Maypole as well. Yours is
the first posting I've seen from somebody who's tried it. Would you mind
posting some code (your do_edit?) and/or sharing your experience?

Thanks,
Dave

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.2 - Release Date: 21/01/05

_______________________________________________ maypole mailing list maypole at lists.netthink.co.uk http://lists.netthink.co.uk/listinfo/maypole



This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:57 GMT