Intervention / validation

Missing Laravel Validation Rules

Home Page:https://validation.intervention.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iso_date can cause 500 error upon invalid input

Rogierownage opened this issue · comments

ErrorException(code: 0): preg_match() expects parameter 2 to be string, array given at vendor/intervention/validation/src/Intervention/Validation/Validator.php:322

If the data supplied is an array instead of a string, you get this error. Ideally, it should return false instead, if the data is not a string.

Fixed in 1.4.1.