Re: [Maypole] 2.07 PR

From: Tony Bowden (tony-maypole at kasei.com)
Date: Tue Jan 18 2005 - 23:25:22 GMT


On Tue, Jan 18, 2005 at 10:01:45PM +0000, Dave Howorth wrote:
> Perhaps I'm being really dumb, but since we're talking about what
> happens when the handler dies or cannot be loaded, I can't see the
> relevance of the example.

Erm, no we're not.

You said:

: I think it would be sensible if programming errors like the uninstalled
: module caused CGI::Untaint to die, whilst validation failures caused it
: to return an error message. But they both used to make it die and they
: both now make it return an error message.

You also said that the docs should have changed to reflect this.

I disputed that validation failures used to make it die, and then gave an
example to show that they didn't, and thus stated that the docs didn't
need to change as the behaviour hadn't changed.

> Our conversation started with you inviting suggestions and me offering
> one which it seems you don't like, and that's entirely your prerogative.

Your suggestion was for a way to pass errors back to the application, such
as
: The 'month' parameter ("21") to DateTime::new did not pass the
: 'is between 1 and 12' callback

I showed how you could already do that.

Other than adding this to do the docs, I'm really not sure what you're
asking for that I don't like.

Tony

_______________________________________________
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