2010/11/26 Gustavo Adrian <[email protected]>: > Thanks for clarify this point. But then there's a problem with this too. I > saw that validators check for null values like: > if ( $value === null ) > { > return true; > } > But they don't check for empty values.
That's because many validators (f.i. Min) expect a non-string argument anyway. The other string arguments don't always accept empty values (like Regex, MinLength etc.) Is there any validator that should accept an empty string but does not? Bernhard -- Software Architect & Engineer Blog: http://webmozarts.com Twitter: http://twitter.com/webmozart -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
