Re: trailing spaces on validation
| From: | Martin Jansen | Date: | Sun, 03 Dec 2006 13:09:21 +0000 |
| Subject: | Re: trailing spaces on validation | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-45070@lists.php.net to get a copy of this message | ||
On Thu Nov 23, 2006 at 12:2935PM +0100, Christophe Gesché wrote:
> I can now restart development Validate.
>
> I see that I trim values before try to validate.
>
> But I'm not sure that's a good idea.
>
> If the value contain trainling space, developper can decide if it's good
> or not. an trim it self if needed.
A bit late probably, but IMO this should be configurable via some setter
method.
- Martin