#991: The AgaviDateTimeValidator doesn't check the input for the
unix_milliseconds format
-----------------------------------------+----------------------------------
Reporter: sven.kretschm...@… | Owner: dominik
Type: defect | Status: new
Priority: normal | Milestone: 0.11.6
Component: validation | Version: 1.0.0beta7
Severity: normal | Keywords:
Has_patch: 0 |
-----------------------------------------+----------------------------------
I assume this affects the format unix as well.
When allowing the unix_milliseconds format the given input is not
validated any more. Everything is taken and in case the input is not
numeric, it's cast to timestamp 0 (1970-01-01 01:00:00). The input should
be validated to be an integer (e.g. using ctype_digit) and regarded as
invalid if not for the format unix_milliseconds.
--
Ticket URL: <http://trac.agavi.org/ticket/991>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets