[Tickets #5394] Re: Improve input validation of datetime and hourminutesecond form fields

bugs at bugs.horde.org bugs at bugs.horde.org
Wed May 23 14:58:55 UTC 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=5394
-----------------------------------------------------------------------
 Ticket             | 5394
 Updated By         | thomas.jarosch at intra2net.com
 Summary            | Improve input validation of datetime and hourminutesecond form fields
 Queue              | Horde Framework Packages
 Version            | HEAD
 Type               | Bug
 State              | Feedback
 Priority           | 1. Low
 Owners             | 
-----------------------------------------------------------------------


thomas.jarosch at intra2net.com (2007-05-23 07:58) wrote:

> I already committed a fix to the validation recently, did you take 
> this into account? See 
>
http://cvs.horde.org/diff.php?r1=1.401&r2=1.402&f=framework%2FForm%2FForm.php

Yes, it's another fix on top of your fix. For the new datetime field, the
empty check gets called with an array of five elements in case of nag's
"due" field. As you limited the check to only check the date relevant
fields, $empty counts to three which is != count($date).




More information about the bugs mailing list